About
A minimal, one-click contact component for portfolios. Hover reveals a subtle arrow hint, and clicking triggers a smooth flip animation.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Copy Email Button to your project and fits it to your theme.
Code
How Copy Email Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CopyEmailButton } from "@/components/ui/copy-email-button";
export default function Page() {
return (
<main className="flex min-h-screen flex-col items-center justify-center gap-10 bg-background p-8">
<div className="text-center space-y-2">
<p className="text-xs uppercase tracking-widest text-muted-foreground">Click to copy</p>
</div>
<CopyEmailButton email="hello@johndoe.com" />
<p className="text-xs text-muted-foreground/60 max-w-[200px] text-center text-pretty">
A minimal copy-to-clipboard interaction for portfolios
</p>
</main>
)
}
















