Allow users to make selections from a range of values.
Inherits margin props.
Name | Default | Description |
---|---|---|
isDisabled | false | boolean Determines if the slider is disabled. |
aria-label | — | string Label that describes the purpose of this slider for screen readers. |
value | — | number The value of the slider in controlled mode. |
min | 0 | number Minimum allowed value. |
max | 100 | number Maximum allowed value. |
step | — | 1 The step in which increments/decrements have to be made. |
onChange | — | (value: number) => void Function called whenever the slider value changes (by dragging or clicking). |