Slider
A slider allows a user to select one or more values within a range.
Installation
CLI
Copy & Paste
npx @sly-cli/sly add draft-ui sliderExamples
Default
The default Slider uses orientation horizontal.
Example
Code
Vertical
Set the orientation prop to vertical to use a vertical Slider.
Important
orientation value passed to SliderFilledTrack must be set to vertical and you must give SliderTrack a specific height for this variation to be styled correctly.
Example
Code