Slider
Numeric slider with single and range modes, step snapping, tick marks, and touch support.
01 Examples
Range Mode
With Marks
Valid & Recommended Range
Helper & Error
02 Customization
Volume Control
65%
Price Filter
03 Accessibility
ARIA Slider
Each thumb uses role="slider" with aria-valuemin, aria-valuemax, aria-valuenow, and aria-label. In range mode, thumbs are labelled
"minimum" and "maximum" for clear identification.
Keyboard
Arrow Right/Up increases by step, Arrow Left/Down decreases. Page Up/Down moves by 10x step. Home/End jump to min/max.
Touch Support
Uses Pointer Events for unified mouse, touch, and pen support. The touch-none CSS property prevents browser scroll interference
during thumb dragging.
Focus & Color
Focus rings use focus-visible: for keyboard-only visibility.
Intent colors are paired with shape (filled track vs. outlined thumb) so the control remains
usable without color perception.
04 API Reference
No matching properties |