About
A pill-shaped button with a raised face and a visible offset base that collapses together on press, giving a primary action a physical sense of depth and thickness.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Extruded Button to your project and fits it to your theme.
Code
How Extruded Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ExtrudedButton } from "@/components/ui/extruded-button";
export default function ExtrudedButtonSoftDemo() {
return (
<div className="flex h-[400px] w-full items-center justify-center bg-background">
<ExtrudedButton thickness={4} tone="soft">
Learn more
</ExtrudedButton>
</div>
);
}









