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 Link from 'next/link';
import { Button } from '@/components/ui/base-button';
export default function Component() {
return (
<div className="flex flex-col items-center gap-6">
<Button mode="link" underline="solid" asChild>
<Link href="#">Solid</Link>
</Button>
<Button mode="link" underline="dashed">
<Link href="#">Dashed</Link>
</Button>
<Button mode="link" underlined="solid">
<Link href="#">Underlined - Solid</Link>
</Button>
<Button mode="link" underlined="dashed">
<Link href="#">Underlined - Dashed</Link>
</Button>
</div>
);
}
















