Description
react-native-phone-number-input is a React Native component for entering a phone number with a country picker. It works on iOS and Android, includes a built-in country picker drawn from react-native-country-picker-modal, and validates numbers using google-libphonenumber for any country. The README says the UI can be customized with many style props, including container, text input, code text, flag button and country picker button styles. You can set a default country, a default value, a placeholder, auto focus, a dark theme, a shadow, and a disabled state, and you can switch the layout between two arrangements. Callbacks report the country change and the text as typed or formatted, and methods return the country code and calling code. The README lists install steps for npm and yarn, a usage example in App.tsx, and an FAQ on crashes seen on some iOS builds. The package has typings for TypeScript projects. The source is public on GitHub. It suits React Native apps that collect phone numbers at sign-up, checkout or contact forms.…
Highlights
- Phone number input for iOS and Android
- Built-in country picker
- Validation with google-libphonenumber
- Styles and layout options to match your design
- TypeScript typings
Ratings & Reviews
No ratings yet
Be the first to rate react-native-phone-number-input.
People also visit

react-telephone-input
React component for entering and validating international telephone numbers

react-native-advanced-input-mask
Text input mask for React Native on iOS, Android and web

react-native-confirmation-code-field
A react-native component to input confirmation code for both Android and IOS
react-native-phone-number-input FAQ
What is react-native-phone-number-input?
A React Native component for entering phone numbers, with a country picker and validation for many countries.
Is it free?
Yes. The source is public on GitHub and listed as open source.
Does it work on both iOS and Android?
Yes. The README says it works with iOS and Android and is cross-platform.
Can I change how it looks?
Yes. The README lists style props for the container, text input, flag button and country picker button, and a dark theme option.
What are the best react-native-phone-number-input alternatives?
Popular alternatives to react-native-phone-number-input include react-native-phone-input, react-international-phone and react-telephone-input. See all react-native-phone-number-input alternatives

















