Package
react-phone-input-2
A react component to format phone numbers
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
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
- v2 first release 2.0.1, 4 Sept 2017
Recent releases
| Version | Published |
|---|---|
| 2.15.1 | 1 Jul 2022 |
| 2.15.0 | 3 Feb 2022 |
| 2.14.0 | 31 Mar 2021 |
| 2.13.9 | 7 Nov 2020 |
| 2.13.8 | 24 Aug 2020 |
| 2.13.7 | 27 Jun 2020 |
| 2.13.6 | 26 Jun 2020 |
| 2.13.5 | 15 May 2020 |
| 2.13.4 | 14 May 2020 |
| 2.13.3 | 20 Apr 2020 |
| 2.13.2 | 16 Apr 2020 |
| 2.13.1 | 14 Apr 2020 |
| 2.13.0 | 14 Apr 2020 |
| 2.12.1 | 11 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-2CDN
jsDelivr: 5.4m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/react-phone-input-2@2.15.1/ - unpkg
https://unpkg.com/react-phone-input-2@2.15.1/ - esm.sh
https://esm.sh/react-phone-input-2@2.15.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| react-country-phone-input | 7.3k | - | 2 years ago | CommonJS | - |
| reactstrap | 445k | - | 1 year ago | ESM + CommonJS | - |
| mdb-react-ui-kit | 10k | - | 9 months ago | ESM + CommonJS | - |
| duoop-ui | 54.3k | - | 16 days ago | ESM only | - |
| @carbon/styles | 116.3k | - | 1 day ago | - | - |
| @carbon/react | 94.5k | - | 1 day ago | ESM + CommonJS | - |
| @searchkit/instantsearch-client | 6.4k | - | 5 months ago | ESM + CommonJS | - |
| @carbon/layout | 144.1k | - | 1 day ago | ESM + CommonJS | - |
Indexability: Indexed.