About
An input that lets users select a value or range from within a given minimum and maximum, with a draggable thumb and live value display.
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
import { Slider } from "@/components/ui/slider";
export default function SliderDemo() {
return (
<div className="flex w-full max-w-xs items-center justify-center">
<Slider defaultValue={50} />
</div>
);
}
















