import { Story, Meta, html } from '@open-wc/demoing-storybook'; import '../lion-input-range.js'; # Input range `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. {html` `} ```html ``` ## Features - Based on [lion-input](?path=/docs/forms-input--default-story). - Shows `modelValue` and `unit` above the range input. - Shows `min` and `max` value after the range input. - Can hide the `min` and `max` value via `no-min-max-labels`. - Makes use of [formatNumber](?path=/docs/localize-numbers) for formatting and parsing. ## How to use ### Installation ```sh npm i --save @lion/input-range ``` ```js import '@lion/input-range/lion-input-range.js'; ``` ## Examples ### Units {html` `} ```html ``` ### Steps {html` `} ```html ``` ### Without Min Max Labels {html` `} ```html ``` ### Disabled {html` `} ```html ```