Motion

Copy Button

Buttons 33

About

Animated copy-to-clipboard button with icon swap, blur transitions, and pathLength checkmark draw

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

"use client"

import CopyButton from "@/components/ui/motion-copy-button"

export default function Default() {
  return (
    <div className="motion-example flex w-full items-center justify-center p-8">
      <CopyButton />
    </div>
  )
}

Dependencies

More by Motion

View all
  • Material design ripple

    Material design ripple

    623
  • Scroll word reveal

    Scroll word reveal

    200
  • Confetti

    Confetti

    174
  • Floating Action Button

    Floating Action Button

    92
  • Scroll Horizontal Gallery

    Scroll Horizontal Gallery

    77
  • Split text

    Split text

    71
  • Fill text

    Fill text

    67
  • Skeleton shimmer

    Skeleton shimmer

    59

More in Buttons

View all
  • Texture Button

    Texture Button

    98
  • Button

    Button

    1
  • Button

    Button

    68
  • Eclipse Button

    Eclipse Button

    3
  • Button

    Button

    65
  • Base Button

    Base Button

    4
  • HeroUI Button Group

    HeroUI Button Group

    2
  • App Store Button

    App Store Button

    460