docs
next pagePhone Input
An implementation of a Phone Input component for React, built on top of Shadcn UI's input component.
National:
International:
Country code:
Installation
Run the following command
pnpm dlx @shadext/cli add phone-input
Example
Setting default country
Internationalization
Force international format
Force national format
initialValueFormat
Formatting value
National:
International:
Country code: