Overview
Pointer dragging uses the track geometry so thumbs stay aligned to the pointer path. Provide aria-label or aria-labelledby on the group for context.
Common use cases
- Volume and media scrubbing.
- Filters for price, rating, or age bands.
- Settings panels with bounded numeric controls.
- Scheduling windows with dual handles.
FAQ
Is the thumb keyboard accessible?
Yes. The thumb uses role="slider" with Arrow, Home, End, and Page keys adjusting values according to min, max, and step.
Can I control values from React state?
Pass value and onValueChange for controlled usage, or defaultValue for an uncontrolled slider. RangeSlider accepts tuples for paired values.