Slider
Slider handles horizontal and vertical range input, inset icons, value indicators, and directional layouts with keyboard-friendly behavior.
Value: 2
Props
| Name | Description | Default | Control |
|---|---|---|---|
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
| Name | Type | Description |
|---|---|---|
update:value | [value: number] | - |
Slots
No slots documented.
Default
Value: 2
Directions
ltr
rtl
Vertical
ltr
rtl
Sizes
extra-small
small
medium
large
extra-large
Value Indicator Placements
top
bottom
start
end