Skip to content

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

Rating:

Value Display

Volume:
Volume:

Format

Opacity:

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
PropTypeDefaultDescription
keystringRequired
valueSliderValueRequired
labelstringRequired
onMoved(value: SliderValue) => NoInfer<Msg>Required
onCommitted(value: SliderValue) => NoInfer<Msg>—
minnumber—
maxnumber—
stepnumber1
stepsreadonly number[]—
showStepsboolean—
largeStepnumber—
minStepsBetweenValuesnumber0
thumbCollisionBehavior"push" | "none" | "swap"'none'
disabledbooleanfalse
namestring—
thumbLabelsreadonly string[]—
variant"compact" | "comfortable" | "pips" | "scrubber"—
shapeShapeVariant'rounded'
valueLabelstringprops.labelOptional visible prefix; empty hides it while the native slider keeps its accessible label.
valuePosition"bottom" | "left" | "right" | "top" | "tooltip"'bottom'
showValueboolean—
formatValue(value: number) => stringString
reducedMotion"user" | "always" | "never"'user'
classNamestring—