lion/packages/input/README.md
2020-01-23 18:24:38 +01:00

27 lines
546 B
Markdown

# Input
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input` component is a webcomponent that enhances the functionality of the native `<input>` element.
## Live Demo/Documentation
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-input--default-story) for a live demo and API documentation
## How to use
### Installation
```sh
npm i --save @lion/input
```
```js
import '@lion/input/lion-input.js';
```
### Example
```html
<lion-input label="My label" name="myName" .modelValue="${'foo'}"></lion-input>
```