About
Magic Button, Animated Button
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 DemoOne() {
return (
<div className="w-full min-h-screen bg-white dark:bg-black flex items-center justify-center">
<div className="space-y-8 text-center">
<div className="space-y-4">
<MagicButton href="#" className="mr-4">
Magic Button
</MagicButton>
</div>
</div>
</div>
)
}
















