# bl00mber/react-phone-input-2

:telephone_receiver: Highly customizable phone input component with auto formatting

Repository: https://github.com/bl00mber/react-phone-input-2
Canonical: https://ross.abutalabs.com/products/react-phone-input-2
Homepage: https://bl00mber.github.io/react-phone-input-2.html
Language: JavaScript
License: MIT
License Family: permissive
Topics: phone, format, telephone, number, mobile, react, input, tel, international, javascript, localized, material-ui, bootstrap, i18n
Last push: 2024-08-19T06:26:27+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3285, "days_push": 744, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1017, forks 540 (observed 2026-08-28T04:03:14.747368+00:00)

## What it is
A highly customizable React phone input component with automatic formatting and country selection. It supports multiple UI styles including Material UI, Bootstrap, and Semantic UI, with internationalization and country filtering options.

## Use cases
- add a phone number input field to a react form
- format international phone numbers as users type
- let users pick their country with a dropdown in a phone field
- restrict phone input to specific countries
- style a phone input to match material-ui or bootstrap
- validate and localize phone number entry in a web app

## When to choose
- you need a ready-made, customizable phone input for React
- you want auto-formatting and country code handling out of the box
- you need multiple prebuilt style themes (material, bootstrap, semantic-ui)

## When to avoid
- you are not using React
- you need full E.164 validation/parsing rather than an input widget (use libphonenumber directly)
- you need a framework-agnostic web component

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, form-handling, internationalization
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: react, phone-input, phone-number-formatting, material-ui, bootstrap, i18n, nodejs

## Member repositories
- bl00mber/react-phone-input-2 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.747368+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:11.019682+00:00, confidence not recorded.
  - readme: https://github.com/bl00mber/react-phone-input-2 (fetched 2026-08-28T04:03:14.747368+00:00, sha e91cefa604e1)
  - homepage: https://bl00mber.github.io/react-phone-input-2.html (fetched 2026-08-29T13:10:12.706375+00:00, sha b506587a48e6)
  - registry_npm: https://registry.npmjs.org/react-phone-input-2 (fetched 2026-08-29T13:10:12.709125+00:00, sha 3227c817135a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
