Phone Input
- from @flagcn
- by Shadi Al Milhem
A design-system-native international phone input with compact country search, inferred flags, as-you-type formatting, E.164 output, and validity metadata.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @flagcn/phone-inputRegistry dependencies2
- input
- @flagcn/country-picker
