About
Renders a clickable button or an element styled as a button
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Base Button to your project and fits it to your theme.
Code
How Base Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Button } from '@/components/ui/base-button';
import { Bell, CalendarCheck, Trash2 } from 'lucide-react';
export default function Component() {
return (
<div className="flex items-center gap-4">
<Button variant="primary">
<Trash2 /> Primary
</Button>
<Button variant="outline">
<Bell /> Outline
</Button>
<Button variant="ghost">
<CalendarCheck /> Ghost
</Button>
</div>
);
}















