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

    Button

    1
  • Texture Button

    Texture Button

    97
  • Eclipse Button

    Eclipse Button

    39
  • App Store Button

    App Store Button

    458
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Button

    Button

    4
  • Button

    Button

    65
  • Button

    Button

    68