Range Slider

Native range input with a filled track and tick dots, so keyboard and screen reader support come built in.

Preview

Volume40

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @easeui/range-slider

API Reference

PropTypeDefaultDescription
value?number--
defaultValue?number--
onValueChange?((value: number) => void)--
min?number0-
max?number100-
step?number1-
showTicks?booleantrueDraw a dot at each step when there are 20 steps or fewer. Default true.
disabled?booleanfalse-
name?string--
id?string--
className?string--
aria-label?string--
aria-labelledby?string--

Updated