About
A two-state button that can be either on or off with smooth transitions and multiple variants.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Toggle to your project and fits it to your theme.
Code
How Toggle is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Toggle } from "@/components/ui/toggle";
export default function DemoOne() {
return <Toggle>Toggle me</Toggle>;
}
















