https://github.com/ieedan/shadcn-phone-input-svelte
(MOVED) See README. A Svelte port of shadcn-phone-input.
https://github.com/ieedan/shadcn-phone-input-svelte
phone-number shadcn-svelte
Last synced: about 11 hours ago
JSON representation
(MOVED) See README. A Svelte port of shadcn-phone-input.
- Host: GitHub
- URL: https://github.com/ieedan/shadcn-phone-input-svelte
- Owner: ieedan
- License: mit
- Created: 2024-08-10T20:48:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T22:23:25.000Z (10 months ago)
- Last Synced: 2025-05-11T06:14:39.558Z (5 months ago)
- Topics: phone-number, shadcn-svelte
- Language: Svelte
- Homepage: https://shadcn-phone-input-svelte.vercel.app/
- Size: 302 KB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shadcnui - Github - phone-input-svelte.vercel.app/) | ★18 | (Components & Libraries)
README
## (MOVED) See [shadcn-svelte-extras](https://github.com/ieedan/shadcn-svelte-extras)
This component is now maintained in [shadcn-svelte-extras](https://github.com/ieedan/shadcn-svelte-extras) see there for the latest updates.[](https://jsrepo.dev)

# shadcn-phone-input-svelte
A Svelte port of [shadcn-phone-input](https://github.com/omeralpi/shadcn-phone-input).
## Setup
### Install shadcn-svelte via CLI
Run the `shadcn-svelte` init command to setup your project:
```bash
npx shadcn-svelte@next init
```### Install necessary components
Run the `shadcn-svelte` add command to add the necessary components to your project:
```bash
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
```## Automatic
```bash
npx jsrepo add github/ieedan/shadcn-phone-input-svelte/ui/phone-input
```or
## Manual
### Install Svelte Tel Input
```bash
npm install svelte-tel-input
```### Copy the code
You can find the most recent code [here](https://github.com/ieedan/shadcn-phone-input-svelte/tree/main/src/lib/components/ui/phone-input).
## Credits
Huge thanks to the creators of [svelte-tel-input](https://github.com/gyurielf/svelte-tel-input) for making this possible.
## Contributing
Contributions as always are welcomed.
### Changelog
When contributing you'll want to add any changes you make to the changelog you can do this by running:
```bash
npx changy add
# or
npm run changelog:new
```