@intl-tel-input/svelte
v28.0.4
Published
A Svelte component for intl-tel-input, for entering, formatting, and validating international telephone numbers
Maintainers
Readme
Svelte component for intl-tel-input
For entering, formatting, and validating international telephone numbers.
Resources
Check out the website, where you can find a full set of docs, a live playground where you can try out all of the options, as well as plenty of examples of different setups.
Running the demos locally
- Initialise the submodules:
git submodule update --init --recursive - Install dependencies:
npm install - Build:
npm run build - Run a demo:
npm run svelte:demoand copy the given URL into your browser.
This defaults to the validation demo — to run a different one, set the DEMO env var, e.g. DEMO=simple npm run svelte:demo. View the full list of available demos.
Issues and contributing
Please report issues and open pull requests on the main repository.
License
MIT
