florash

Extruded Button

Buttons

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 ExtrudedButtonDemo() {
  return (
    <div className="flex h-[400px] w-full items-center justify-center bg-background">
      <ExtrudedButton thickness={5} tone="primary">
        Publish
      </ExtrudedButton>
    </div>
  );
}

Dependencies

More by florash

View all
  • Message Bubble

    Message Bubble

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    32
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Split Button

    Split Button

    32