Overview
Volume60
Price range$20 – $80
Installation
Usage
Variants
Basic
Volume
With Value Display
Brightness30
Range Slider
Price range$20 – $80
Disabled
Locked setting
API Reference
Accessibility
- Slider uses
role="slider"witharia-valuenow,aria-valuemin, andaria-valuemax - Arrow keys move the thumb by one step; Page Up/Down move by 10% of the range
- Home/End keys jump to minimum/maximum
- Range sliders have two separate thumb elements, each keyboard-navigable
disabledusesaria-disabled="true"and removes the element from tab order- Label is associated via
aria-labelledby
Do’s & Don’ts
Do
- Use Slider for continuous numeric values where precision isn’t critical
- Always show the current value with
showValuewhen precision matters - Use
stepto constrain values to meaningful increments - Use a range Slider for min/max filtering (price, date)
Don't
- Don’t use Slider when an exact value must be entered — use a number Input
- Don’t use very small steps on a short track — it becomes imprecise
- Don’t use Slider for binary on/off settings — use Switch instead
- Don’t omit a label — the track alone does not convey meaning