Toggle Sidebar B
header.lightDarkMode D

Slider

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

Default

Single thumb, 0-100.

Range

Two thumbs for selecting a range.

Stepped

Snap to discrete step values.

Wide thumb

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

OPENCLOSE

Ruler scrubber

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

Simple

Basic slider with a label.

Disabled

Non-interactive, dimmed state.

Square thumb

Thumb with squared-off corners.

Solid thumb

Filled thumb over a faded track.

Tiny thumb

Slim bar-style thumb.

Reference labels

Static reference labels beneath the track.

Ticks

Tick marks with skipped value labels.

With output

Live value shown beside the label.

25

With labels

Descriptive labels above the track.

Labels and tooltip

Labels plus a value tooltip on the thumb.

Dual range

Two thumbs selecting a min and max.

Dual range with output

Range with a live min-max output.

25 - 75

Volume

Volume control flanked by icons.

25

Multiple thumbs

Three thumbs with formatted tooltips.

Temperature

Slider synced with an input and a reset action.

With input

Slider synced with a number input.

Rating with emoji

1-5 rating flanked by emoji.

Okay
😡😍

Rating with tooltip

Rating with a label tooltip and reactive emoji.

😐

Dual range with input

Range bounded by two inputs.

Plus / minus buttons

Stepper buttons alongside the slider.

Price range

Formatted price range with an action button.

Vertical

Vertical orientation.

Vertical with input

Vertical slider synced with an input.

Vertical dual range and tooltip

Vertical range with value tooltips.

Object position

Multiple labelled sliders with a reset-all action.

Object position

Price with histogram

Range slider over a price-distribution histogram.

$
$

Equalizer

Five vertical bands with pill thumbs and tooltips.

Equalizer

API Reference

Props, events, and slots for each sub-component.

Slider

Props

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.

Events

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.

Keyboard

ShortcutDescription
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.