Skip to content

Repository files navigation

larmbox/phone-input

npm license downloads

Demo

Installation

phone-input is available as an npm package:

npm install @larmbox/phone-input

phone-input can also be imported directly in the browser:

<!-- local -->
<script src="dist/index.browser.min.js"></script>

<!-- jsdelivr.net -->
<script src="https://cdn.jsdelivr.net/npm/@larmbox/phone-input/dist/index.browser.min.js"></script>

Usage

<input id="example" />

<script>
  const element = document.getElementById('example');
  phoneInput.attach(element);
</script>

Options

Contributing

Please refer to the Larmbox Open Source Community Guidelines.

License

This project is licensed under the terms of the MIT license.

About

Create a phone input field from any input field.

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages