Slider
A value you pick by dragging, smooth or in steps, with the number always visible.
When to use
Section titled “When to use”- Temperature, budget caps, retention days: values where a feel for the range matters more than typing. On desktop, exact values also get a
TextInputbeside the slider.
What the consumer provides
Section titled “What the consumer provides”label,min,max,step,valueandonChange. Aformatfor the value bubble (“€120”, “0.7”). Up to three marks, with words at the ends (“precise”, “creative”).aria-valuetextwith the formatted value.
Behaviour
Section titled “Behaviour”- The track is 4px
mistwith anemerald-deepfill. The thumb is 20px:surface-100with a 2pxemerald-deepring. It grows 10% on hover and focus. The value bubble sits onsurface-inverseand follows the thumb. - Arrow keys move one step. Shift+Arrow moves by 10. Home and End jump to the ends. The touch target is the full 40px row.
Tokens
Section titled “Tokens”mist, emerald-deep, surface-100, surface-inverse, ink-inverse, ink-muted, focus, radius-full.
Mantine
Section titled “Mantine”<Slider min max step value onChange label={fmt} marks thumbSize={20} />. Use RangeSlider for spans.