About
Slider component built on Radix UI — supports single value and range selection.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Slider to your project and fits it to your theme.
Code
How Slider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { Slider } from "@/components/ui/interfaces-slider"
export default function SliderDemo() {
return (
<div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
<div className="w-full max-w-sm">
<Slider defaultValue={[60]} min={0} max={100} step={1} />
</div>
</div>
)
}
















