Pick a country and type the number: it is formatted as you go, and the form gets it in E.164.
pnpm dlx shadcn@latest add "https://kinoui.com/r/phone-input-1.json"