Multiple Handles
Markers
Height & Size
Colors
State
Disabled
Read-Only
RTL
Usage Within Forms
Make sure to add a unique name
property.
API Reference
Slider
Property | Type | Description |
---|---|---|
markers | number[] | |
height | string | |
base | string | |
classes | string | |
controlBase | string | |
controlClasses | string | |
trackBase | string | |
trackBg | string | |
trackRounded | string | |
trackClasses | string | |
meterBase | string | |
meterBg | string | |
materRounded | string | |
meterClasses | string | |
thumbBase | string | |
thumbSize | string | |
thumbBg | string | |
thumbRingSize | string | |
thumbRingColor | string | |
thumbRounded | string | |
thumbCursor | string | |
thumbClasses | string | |
markersBase | string | |
markerslasses | string | |
markBase | string | |
markText | string | |
markOpacity | string | |
markClasses | string | |
stateDisabled | string | |
stateReadOnly | string | |
onValueChange | (value: number[]) => void | |
onValueChangeEnd | (value: number[]) => void | |
mark | ReactNode | |
ids | Partial<{ root: string; thumb(index: number): string; hiddenInput(index: number): string; control: string; track: string; range: string; label: string; valueText: string; marker(index: number): string; }> | |
aria-label | string[] | |
aria-labelledby | string[] | |
name | string | |
form | string | |
value | number[] | |
disabled | boolean | |
readOnly | boolean | |
invalid | boolean | |
onFocusChange | (details: FocusChangeDetails) => void | |
getAriaValueText | (details: ValueTextDetails) => string | |
min | number | |
max | number | |
step | number | |
minStepsBetweenThumbs | number | |
orientation | "vertical" | "horizontal" | |
origin | "start" | "center" | |
thumbAlignment | "center" | "contain" | |
dir | "ltr" | "rtl" | |
getRootNode | () => ShadowRoot | Node | Document | |