Slider

An ink fill on a glass track. Pick a thumb — ceramic dot, thin line, or ridged grip — and it warms to ember while you drag; pass an array to get one thumb per value.

Draw

npx shadcn@latest add @clow/slider

Playground

props
<Slider />

Examples

basic
thumbs
range

Props

proptypedefault
defaultValuenumber40
thumbdot | line | gripdot
minnumber0
maxnumber100
stepnumber1
disabledbooleanfalse
orientationhorizontal | verticalhorizontal