ComponentsSlider

Slider

Sliders let users select a value from a range along a track. They're ideal for settings like volume, brightness, or 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