UNPKG

vue-simple-phone

Version:

A multilingual, simple, and extendable phone number input component for Vue

41 lines (24 loc) 1.24 kB
# Vue Simple Phone A multilingual, simple, and extendable phone number input component for Vue ![Vue Simple Phone logo](https://bjorntheprogrammer.github.io/vue-simple-phone/images/logo.png) ## Installation 1. Install from npm: `npm i vue-simple-phone` 2. Use and import in your code! ```vue <script setup> import { VueSimplePhone } from 'vue-simple-phone' import 'vue-simple-phone/themes/light.css' // Include the default theme </script> <template> <VueSimplePhone /> </template> ``` ## Demo and Docs Extensive documentation and a demo can be found [here](https://bjorntheprogrammer.github.io/vue-simple-phone/) ## Theme Builder Build out your own theme with our [theme builder](https://bjorntheprogrammer.github.io/vue-simple-phone/usage/theme-builder)! ## Use different languages By default Vue Simple Phone supports any language, using Intl, read more about such options [here](https://bjorntheprogrammer.github.io/vue-simple-phone/usage/props.html). ![Example of the different languages](https://bjorntheprogrammer.github.io/vue-simple-phone/images/languages.png) ## A quick peek ![Example of the different themes available to Vue Simple Phone](https://bjorntheprogrammer.github.io/vue-simple-phone/images/examples.png)