@ipscape/ips-tel-input
Version:
A phone number input component
50 lines (31 loc) • 1.37 kB
Markdown
# ips-tel-input
[](https://github.com/facebook/jest) [](https://github.com/facebook/jest)
The `<ips-tel-input>` provides a telephone input component.
## Live demo
See [Storybook](http://ipscape-component-library.s3-website-ap-southeast-2.amazonaws.com/storybook/)
## Getting started
Install the component library:
```
npm install @ipscape/ips-tel-input
```
or
```
yarn add @ipscape/ips-tel-input
```
Add the component to your app:
```javascript
import Vue from 'vue';
import IpsTelInput from '@ipscape/ips-tel-input';
import '@ipscape/ips-tel-input/dist/ips-tel-input.css';
Vue.component(IpsTelInput.name, IpsTelInput);
```
Use a component in your application:
```html
<template>
<ips-tel-input></ips-tel-input>
</template>
```
## License
[](https://img.shields.io/badge/License-GPL%20v2-blue.svg) [](http://www.gnu.org/licenses/gpl-3.0)
Made with ❤ by [ipSCAPE](https://ipscape.com)
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file.