lion/packages/input-range/README.md
Thomas Allmer 89b835a799 feat: improved storybook demos
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-01-13 13:58:03 +01:00

28 lines
625 B
Markdown

# Input range
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-range` component is based on the native range input.
Its purpose is to provide a way for users to select one value from a range of values.
## Live Demo/Documentation
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-input-range) for a live demo and API documentation
## How to use
### Installation
```sh
npm i --save @lion/input-range
```
```js
import '@lion/input-range/lion-input-range.js';
```
### Example
```html
<lion-input-range min="200" max="500" .modelValue="${300}" label="Input range"></lion-input-range>
```