Slider
A Slider allows the user to select values in a linear range of values.
install | yarn add @clayui/slider |
---|---|
version | 3.119.0 |
Stable3.119.0View in LexiconCHANGELOG
Slider is a controlled component and needs just 2 props for its basic use, value
and onChange
.
Copied!
Code Sample (expand to see it)
Range and Step
For a more specific use case you can specify other props, like min
and max
to determine the range, and step
to specify how much the value changes.
Copied!
Code Sample (expand to see it)