A phone number with its country: a button with the flag and dial code opens a searchable list of countries, the number is formatted as it is typed, a number pasted with its code moves the country to it, and the form gets the number in E.164.
pnpm dlx shadcn@latest add "https://kinoui.com/r/phone-input.json"