Skip to content
R

react-telephone-input

React component for entering and validating international telephone numbers

by unstack2Free

#787in UI Libraries
0In stores

Description

react-telephone-input is a React component for entering and validating international telephone numbers. It is inspired by the jQuery Interna…

Highlights

  • International phone number input
  • Country dropdown with preferred countries
  • Auto formatting on by default
  • Change and Enter key callbacks

Ratings & Reviews

No ratings yet

Be the first to rate react-telephone-input.

People also visit

R

react-international-phone

International phone input component for React

UI Libraries
Launch
R

react-native-phone-number-input

Phone Number Input Component

UI Libraries
Launch
R

react-number-format

React component to format number in an input or as a text

UI Libraries
Launch
R

react-native-phone-input

Phone input box for React Native

UI Libraries
Launch
V

vue-phone-number-input

A phone number input made with Vue JS && libphonenumber-js

UI Libraries
Launch
V

vue-tel-input

International Telephone Input with Vue

UI Libraries
Launch

react-telephone-input FAQ

What is react-telephone-input?

A React component for entering and validating international telephone numbers, with a country dropdown.

How do I set the default country?

Pass the ISO2 code of the country to the defaultCountry prop, such as us for the United States.

Can I limit the list of countries?

Yes. Pass an array of country objects to onlyCountries. preferredCountries shows chosen countries at the top.

Is styling included?

From version 3, styles are not included by default. From version 5, import the CSS file directly, as the README explains.

Can I turn off formatting?

Yes. autoFormat is true by default. Setting it to false turns off all auto formatting.

What are the best react-telephone-input alternatives?

Popular alternatives to react-telephone-input include react-international-phone, react-native-phone-number-input and react-number-format. See all react-telephone-input alternatives

Developer Stuff

Badges