brijr/ui

Lab

Slider

npx shadcn@latest add @brijr/slider

Values

Hover a thumb, or tab to it, to see its ring.

value 0
value 40
value 100

States

disabled
disabled · range
readOnly
required
aria-invalid
aria-invalid · range

Multiple thumbs

range · 2 thumbs
3 thumbs · step 10
range · touching
minStepsBetweenThumbs 10

Vertical

vertical
vertical · range
vertical · disabled
vertical · equalizer

With label

75
Label · SliderValue
Price$200 – $800
range · SliderValue
65%

Applies to every layer in the selection.

format percent · helper text
40

How loud notifications play.

Field · description
80
Keep it under 30 after 10pm.
Field invalid · error
30
disabled · Label · SliderValue

Content

narrow
step 25 · max 100
full width