---
title: "Copy Email Button | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/copy-email"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/contact/copy-email.tsx"
install_command: "npx motion-ui-skill add copy-email"
dependencies: ["clsx","react","tailwind-merge"]
category: "craft"
subcategory: "contact"
---

# Copy Email Button

> One-click copy maintainer email address with inline tooltip feedback ("Click to copy" / "Copied") and zero mailbox popup.

## Install

```bash
npx motion-ui-skill add copy-email
```

## Dependencies

- `clsx`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { CopyEmail } from "@/components/contact/copy-email";

export function CopyEmailDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <CopyEmail email="hello@example.com" />
    </div>
  );
}
```

## API Reference

### CopyEmail

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `email` | `string` | `"hello@example.com"` | No | Email address to copy |
| `children` | `string` | — | No | Visible label. Defaults to email address. |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/contact/copy-email.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/contact/copy-email.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
