tom

Copy Button

Buttons 101

About

A copy-to-clipboard button with blur transition effect.

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

Code

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

Usage.tsx

import { CopyButton } from "@/components/ui/copy-button"

export default function CopyButtonDemo() {
  return (
    <div className="flex items-center justify-center min-h-[400px] p-8">
      <CopyButton>
        Hello, World!
      </CopyButton>
    </div>
  )
}

Dependencies

More by tom

View all
  • Shimmer Text

    Shimmer Text

    1.1K
  • Animated Gradient

    Animated Gradient

    1.1K
  • Special Text

    Special Text

    1.1K
  • Tilt Card

    Tilt Card

    913
  • Marquee

    Marquee

    811
  • Text Marquee

    Text Marquee

    760
  • QR Code

    QR Code

    484
  • Blur Reveal

    Blur Reveal

    398

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