ComponentsSlider

Slider

Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.

GitHub LogoSource Code
0102030405060708090100

Controlled

HvSlider can be controlled with the values/onChange props.

Adding a second value to the values prop will make the slider a range slider, which also makes the track draggable.

04080120160200

Customization

Use minPointValue, maxPointValue, divisionQuantity, and markStep to customize the slider limits and steps, and formatMark and formatTooltip to customize the step labels.

Very LowLowMediumHighVery High