About
An accessible, polymorphic button with primary/secondary/outline/ghost/destructive variants, three sizes, a loading spinner state, and left/right icon slots.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Button to your project and fits it to your theme.
Code
How Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Button from "@/components/ui/button";
export default function ButtonDemo() {
return <Button>Button</Button>;
}














