lucasbassetti

Magic Button

Buttons 21

About

A pushable 3D button with a layered shadow/edge that lifts on hover and dips on press, with an optional animated rainbow-gradient edge glow.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Magic Button to your project and fits it to your theme.

Code

How Magic Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { MagicButton } from "@/components/ui/magic-button";

export default function MagicButtonDemo() {
  return <MagicButton variant="default">Get started</MagicButton>;
}

More by lucasbassetti

View all
  • Multi Button

    Multi Button

    38
  • Mask Button

    Mask Button

    16
  • Animated Tooltip

    Animated Tooltip

    12
  • Progress Fold Button

    Progress Fold Button

    6
  • Bento Grid

    Bento Grid

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19