Licence
MIT
Version
29.1.1
Deps
1
Size
14 kB
Vulns
0
Weekly
137
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