Skip to main content

Examples

Default

Disabled

No Labels

All Variants

Range

Props

Slider

A range input for selecting one or more numeric values along a track. Supports single and multi-thumb modes, optional labels, and a value tooltip. Built on Radix UI Slider.
((value: number) => string)
Custom formatter for the tooltip value (e.g. to add units or format numbers).
string
Label text displayed alongside the slider.
"top" | "left"
default:"top"
Position of the label relative to the slider track.
string
Text shown at the maximum end of the track.
string
Text shown at the minimum end of the track.
boolean
default:"false"
Whether to show a tooltip with the current value above the thumb.

Exported types

Also exported from @fanvue/ui: SliderLabelPosition, SliderProps.
Setup: Installation · Theming