"use client"
import { Slider } from "@/components/ui/preskok-ui/slider"
export function SliderDemo() {
return (
<Slider
label="Engine Power"
defaultValue={250}
minValue={100}
maxValue={500}
step={10}
/>
)
}
Installation
CLI
Manual
pnpmnpmyarnbunpnpm dlx @preskok-org/ui@latest add slider
Usage
import { Slider } from "@/registry/preskok/ui/preskok-ui/slider"
export function SliderDemo() {
return <Slider label="Volume" defaultValue={50} />
}