Jatin Yadav

Copy Email Button

Buttons 4

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>
  )
}

Dependencies

More by Jatin Yadav

View all
  • Radial Orbital Timeline

    Radial Orbital Timeline

    7.4K
  • Expand Map

    Expand Map

    2.8K
  • Sign In Card

    Sign In Card

    2.6K
  • Project Showcase

    Project Showcase

    2.2K
  • Etheral Shadow

    Etheral Shadow

    2.1K
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • Animated AI Chat

    Animated AI Chat

    1.6K
  • Vertical Image Stack

    Vertical Image Stack

    1.6K

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