Slider
A 320px track for choosing a value, or two thumbs for choosing a span, with the label, (Optional) and the amount above it.
Add an Orvain Slider labelled “Label” with the sub-label “(Optional)”, at 0, no tooltip.
When to use#
- For values where approximate position matters more than the exact number: volume, a price range, a zoom level.
- The Range Slider for filters with a minimum and a maximum.
When not to use
- Use an Input for exact values such as a quantity or an age.
Anatomy#
Label, (Optional) and the amount on the right, Satoshi 12/1.5, 4px above the track.
6px tall, fully round, #f2f2f2.
The chosen part of the track in #005cf8.
A 16px white disc with a 6px centre, blue once the value leaves the start; a 24px hit area.
Optional: the value in a dark bubble 3px above the thumb.
States#
Figma draws 0, 25, 50, 75 and 100%; any step between works.
The two ends of a Range Slider; the thumbs cannot cross.
The thumb's centre stays grey until the value moves.
Faded to 40% and inert (the library's; Figma draws none).
Source#
The Slider ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.
Used in these blocks

