Lion Logo Lion Guides Components Docs Blog Toggle darkmode

Input Range: Overview

A web component based on the native range input. Its purpose is to provide a way for users to select one value from a range of values.

Features

  • Based on our input.
  • 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 for formatting and parsing.

Installation

npm i --save @lion/input-range
import { LionInputRange } from '@lion/input-range';
// or
import '@lion/input-range/define';