Skip to content
JS
Package

react-phone-input-2

A react component to format phone numbers

v2.15.1, 1 Jul 2022MITCommonJSTypes: BundledUI component librariesReact
$ npm install react-phone-input-2

Key numbers

As of 25 Sept 2026
Weekly downloads
505k
+41% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
4 years ago
v2.15.1
GitHub stars
1k
540 forks
Open issues / PRs
225 / 50
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 780.3k (21 Jul 2026)Low 280.3k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

504,960 downloads last week, 2,682,014 in the last month. The 12-month change of +41% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
039 in total
Latest version
2.15.1, 1 Jul 20224 years ago
First published
4 Sept 2017
Last push to GitHub
19 Aug 2024766 days before the snapshot
Repository archived
No
Open issues
225
Open pull requests
50
Commits, last 52 weeks
0
Dependents on npm
702

Major versions

  1. v2 first release 2.0.1, 4 Sept 2017

Recent releases

VersionPublished
2.15.11 Jul 2022
2.15.03 Feb 2022
2.14.031 Mar 2021
2.13.97 Nov 2020
2.13.824 Aug 2020
2.13.727 Jun 2020
2.13.626 Jun 2020
2.13.515 May 2020
2.13.414 May 2020
2.13.320 Apr 2020
2.13.216 Apr 2020
2.13.114 Apr 2020
2.13.014 Apr 2020
2.12.111 Mar 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
416 kB
Dependencies (6)
classnamesprop-typeslodash.reducelodash.memoizelodash.debouncelodash.startswith
Peer dependencies (2)
reactreact-dom
npm install react-phone-input-2

CDN

jsDelivr: 5.4m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-phone-input-2@2.15.1/
  • unpkghttps://unpkg.com/react-phone-input-2@2.15.1/
  • esm.shhttps://esm.sh/react-phone-input-2@2.15.1
PackageWeekly downloadsGzipLast releaseModuleComparison
react-country-phone-input7.3k-2 years agoCommonJS-
reactstrap445k-1 year agoESM + CommonJS-
mdb-react-ui-kit10k-9 months agoESM + CommonJS-
duoop-ui54.3k-16 days agoESM only-
@carbon/styles116.3k-1 day ago--
@carbon/react94.5k-1 day agoESM + CommonJS-
@searchkit/instantsearch-client6.4k-5 months agoESM + CommonJS-
@carbon/layout144.1k-1 day agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.