Skip to content

Slider

A value on a continuous track; pass two values for a range.

npx dtheo@latest add slider
15 %

R-0412 peaked at 17.6 %: flagged for review.

120–680 ms

Settling time and overshoot are computed inside this window.

When to use

  • Approximate values where the position matters more than the number (a threshold, a window)
  • Exact values: use Number field, or pair the slider with one

API

defaultValue
Pass two values for a range with two thumbs.number | number[]
thumbLabels
A name per thumb ("Window start", "Window end") so a range is announced apart.string[]

Other props pass through to Base UI’s Slider.

Keyboard

Arrow keys
Step the value
Page updown
Large steps
HomeEnd
Minimum / maximum

Used in