Toggle Sidebar B
AppearanceLight & dark mode D

Slider

Continuous or stepped range input for numeric values. Supports single or multi-thumb selection.

Default

Single thumb, 0-100.

Replay preview

Controlled

Bound to a ref with the value shown as text and a reset button.

Replay preview
40%

Range

Two thumbs for selecting a range.

Replay preview

Two-thumb range

Two-thumb range from an array model value, with tooltips and a live output.

Replay preview
25 – 75

Stepped

Snap to discrete step values.

Replay preview

Wide thumb

Pill-shaped handle wider than it is tall, suited to open/close style controls.

Replay preview
OPENCLOSE

Ruler scrubber

Recessed tick-ruler with a thin glowing indicator and a paired number input, matching design-tool property panels.

Replay preview
Offset X0
Offset Y0
Rotation0
Scale1

Simple

Basic slider with a label.

Replay preview

Disabled

Non-interactive, dimmed state.

Replay preview

Square thumb

Thumb with squared-off corners.

Replay preview

Solid thumb

Filled thumb over a faded track.

Replay preview

Tiny thumb

Slim bar-style thumb.

Replay preview

Reference labels

Static reference labels beneath the track.

Replay preview

Ticks

Tick marks with skipped value labels.

Replay preview

With output

Live value shown beside the label.

Replay preview
25

With labels

Descriptive labels above the track.

Replay preview

Labels and tooltip

Labels plus a value tooltip on the thumb.

Replay preview

Dual range

Two thumbs selecting a min and max.

Replay preview

Dual range with output

Range with a live min-max output.

Replay preview
25 - 75

Volume

Volume control flanked by icons.

Replay preview
25

Multiple thumbs

Three thumbs with formatted tooltips.

Replay preview

Temperature

Slider synced with an input and a reset action.

Replay preview

With input

Slider synced with a number input.

Replay preview

Rating with emoji

1-5 rating flanked by emoji.

Replay preview
Okay
😡😍

Rating with tooltip

Rating with a label tooltip and reactive emoji.

Replay preview
😐

Dual range with input

Range bounded by two inputs.

Replay preview

Plus / minus buttons

Stepper buttons alongside the slider.

Replay preview

Price range

Formatted price range with an action button.

Replay preview

Vertical

Vertical orientation.

Replay preview

Vertical with input

Vertical slider synced with an input.

Replay preview

Vertical dual range and tooltip

Vertical range with value tooltips.

Replay preview

Object position

Multiple labelled sliders with a reset-all action.

Replay preview
Object position

Price with histogram

Range slider over a price-distribution histogram.

Replay preview
$
$

Equalizer

Five vertical bands with pill thumbs and tooltips.

Replay preview
Equalizer

API Reference

Slider

PropTypeDefaultDescription
modelValuenumber[][0]Array of thumb values. Supports v-model.
minnumber0Min value.
maxnumber100Max value.
stepnumber1Increment between values.
disabledbooleanfalseDisable input.
orientation"horizontal" | "vertical""horizontal"Layout direction of the track.
showTooltipbooleanfalseShow a tooltip with the current value above each thumb.
tooltipContent(value: number) => stringundefinedFormatter for the tooltip label. Defaults to the raw value.
EventDescription
update:modelValueFires continuously as a thumb moves. Enables v-model.
value-commitFires once when the user releases a thumb.

Accessibility

Keyboard shortcuts and ARIA behavior.

Shortcut Description
Decreases the value by one step.
Decreases the value by one step.
Increases the value by one step.
Increases the value by one step.
HomeSets the value to the minimum.
EndSets the value to the maximum.
Page UpIncreases the value by a large step.
Page DownDecreases the value by a large step.
  • Each thumb has role=slider with aria-valuemin, aria-valuemax, and aria-valuenow.
  • Provide an accessible label so screen readers announce the slider's purpose.