Slider
One slider, two ladder steps: the default step's pip/scrubber design, and the compact step's dense design with track fill, range mode, and value display.
Installation
Install Slider from the Fluid Effect UI registry.
Compact
Range
Pick the start of a range and move across either month to preview the end.
Steps
Non-uniform Steps
Value Display
Format
Disabled
Default
Default — Scrubber
Default — Format
Default — Disabled
API Reference
Types come from the public API. A dash indicates no default is documented here.
Slider props
Public source| Prop | Type | Default | Description |
|---|---|---|---|
key | string | Required | |
value | SliderValue | Required | |
label | string | Required | |
onMoved | (value: SliderValue) => NoInfer<Msg> | Required | |
onCommitted | (value: SliderValue) => NoInfer<Msg> | — | |
min | number | — | |
max | number | — | |
step | number | 1 | |
steps | readonly number[] | — | |
showSteps | boolean | — | |
largeStep | number | — | |
minStepsBetweenValues | number | 0 | |
thumbCollisionBehavior | "push" | "none" | "swap" | 'none' | |
disabled | boolean | false | |
name | string | — | |
thumbLabels | readonly string[] | — | |
variant | "compact" | "comfortable" | "pips" | "scrubber" | — | |
shape | ShapeVariant | 'rounded' | |
valueLabel | string | props.label | Optional visible prefix; empty hides it while the native slider keeps its accessible label. |
valuePosition | "bottom" | "left" | "right" | "top" | "tooltip" | 'bottom' | |
showValue | boolean | — | |
formatValue | (value: number) => string | String | |
reducedMotion | "user" | "always" | "never" | 'user' | |
className | string | — |