This component is now maintained in shadcn-svelte-extras see there for the latest updates.
A Svelte port of shadcn-phone-input.
Run the shadcn-svelte
init command to setup your project:
npx shadcn-svelte@next init
Run the shadcn-svelte
add command to add the necessary components to your project:
npx shadcn-svelte@next add button
npx shadcn-svelte@next add command
npx shadcn-svelte@next add popover
npx shadcn-svelte@next add scroll-area
npx jsrepo add github/ieedan/shadcn-phone-input-svelte/ui/phone-input
or
npm install svelte-tel-input
You can find the most recent code here.
Huge thanks to the creators of svelte-tel-input for making this possible.
Contributions as always are welcomed.
When contributing you'll want to add any changes you make to the changelog you can do this by running:
npx changy add
# or
npm run changelog:new