Slider

Slider handles horizontal and vertical range input, inset icons, value indicators, and directional layouts with keyboard-friendly behavior.

2
Value: 2

Props

NameDescriptionDefaultControl
verticalOptional

Whether the slider is vertical.

boolean | undefined
false
directionOptional

The direction of the slider.

ltrrtl
"ltr"
minRequired

The minimum value of the slider.

number
-
maxRequired

The maximum value of the slider.

number
-
stepRequired

The step value of the slider.

number
-
wheelStepOptional

The amount the value changes when using the mouse wheel.

number | undefined
-
-
lowerLimitOptional

The lower limit for the slider value.

number | undefined
-
-
upperLimitOptional

The upper limit for the slider value.

number | undefined
-
-
sizeOptional

The size of the slider.

extra-smallsmallmediumlargeextra-large
"medium"
startIconOptional

Name of the inset icon shown at the start side of the track.

string | undefined
-
endIconOptional

Name of the inset icon shown at the end side of the track.

string | undefined
-
disabledOptional

-

boolean | undefined
false
valueIndicatorOptional

-

boolean | undefined
true
valueIndicatorPlacementOptional

-

topbottomstartend
-
formatterOptional

-

{ valueToText: (value: number) => string; textToValue: (text?: string | undefined) => number | undefined; } | undefined
-
-
stopIndicatorsOptional

-

number[] | undefined
-
-
valueRequired

-

number
-

Events

NameTypeDescription
update:value[value: number]-

Slots

No slots documented.

Default

2
Value: 2

Directions

ltr
2
rtl
2

Vertical

ltr
2
rtl
2

Sizes

extra-small
2
small
2
medium
2
large
2
extra-large
2

Value Indicator Placements

top
2
bottom
2
start
2
end
2

Inset Icons

48

Disabled

2