Table of Contents#
Slider Props#
Prop | Type | Default | Description |
---|---|---|---|
min | number | 0 | The minimum selectable value of the slider. |
max | number | 100 | The maximum selectable value of the slider. |
step | number | 1 | The increment between selectable values. |
defaultValue | number[] | - | The initial selected range values of the slider. |
onChange | (values: number[]) => void | - | Callback fired when the slider value changes. |
className | string | '' | Additional CSS class names for styling the slider. |
disabled | boolean | false | Whether the slider is disabled and not interactive. |