Forms
Slider
A stippled track that fills solid behind the thumb.
npx shadcn@latest add https://ui.netm8.com/r/slider.json@base-ui/react
Forms
A stippled track that fills solid behind the thumb.
npx shadcn@latest add https://ui.netm8.com/r/slider.jsonimport { Slider } from "@/components/ui/slider"
export default function SliderDemo() {
return (
<div className="grid w-64 gap-6">
<Slider defaultValue={40} aria-label="Volume" />
<Slider defaultValue={[20, 70]} aria-label="Range" />
</div>
)
}