About
A rounded, glossy pill-shaped button built on Base UI with size variants for primary actions and icon buttons.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pill Button to your project and fits it to your theme.
Code
How Pill Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PillButton } from "@/components/ui/pill-button";
export default function PillButtonDemo() {
return (
<div className="flex min-h-[200px] w-full items-center justify-center gap-4 p-10">
<PillButton size="sm">Follow</PillButton>
<PillButton>Get Started</PillButton>
<PillButton size="lg">Subscribe</PillButton>
</div>
);
}
















