Material UI Phone Number screenshot

Material UI Phone Number

Author Avatar Theme by Alexplumb
Updated: 12 Oct 2021
124 Stars

Fork of react-phone-input-2 for the Material-UI library

Categories

Overview

The material-ui-phone-number is a phone input component that allows for highly customization and includes auto formatting. It is based on the react-phone-input-2 package and follows the Material Design guidelines for its design.

Features

  • Highly customizable phone input component
  • Auto formatting of phone numbers
  • Uses @material-ui/core/TextField for rendering the phone input

Installation

To install the material-ui-phone-number theme, follow these steps:

  1. Install the package using npm:
npm install material-ui-phone-number
  1. Import the component:
import PhoneNumberInput from 'material-ui-phone-number';
  1. Use the component in your code:
<PhoneNumberInput />

Summary

The material-ui-phone-number is a phone input component that allows for easy and customizable phone number inputs. It is based on the react-phone-input-2 package and follows Material Design guidelines for its design. It provides auto formatting of phone numbers and uses the @material-ui/core/TextField component for rendering the phone input field.