# Copy animated icon

> Free Copy animated icon that plays on hover and reverses on mouse leave. MIT-licensed for React, shadcn/ui, Lottie JSON and SVG.

Use the Copy icon for attachment and copy-to-clipboard buttons: it plays on hover and reverses on mouse leave and takes 0.17 s. Hover icons typically mark navigation items, delete buttons, settings, zoom controls and social links. Also known as duplicate and clipboard.

## Facts

- Interaction: [Hover](https://useanimations.com/interactions/hover). Plays forward on mouseenter and backward on mouseleave.
- Category: [Content](https://useanimations.com/categories/content)
- Duration: 0.17 s at 30 fps
- Artboard: 32 × 32 px
- Lottie size: 1.9 kB
- License: MIT, attribution optional ([Licencing & Terms](https://useanimations.com/licencing-and-terms))

## Files

- Lottie JSON: https://useanimations.com/icons/copy.json
- Static SVG (copy): https://useanimations.com/icons/copy/copy.svg
- ZIP (Lottie JSON and SVGs): https://useanimations.com/icons/copy.zip
- shadcn registry item: https://useanimations.com/r/copy.json
- Web page: https://useanimations.com/icons/copy

## React

```bash
npm install react-useanimations
```

```jsx
import UseAnimations from 'react-useanimations';
import copy from 'react-useanimations/lib/copy';

<UseAnimations animation={copy} size={32} />
```

## shadcn/ui

```bash
npx shadcn@latest add https://useanimations.com/r/copy.json
```

```tsx
import { AnimatedCopy } from '@/components/animations/copy';

<AnimatedCopy size={24} />
```

## HTML and lottie-web

```html
<div id="copy-icon" style="width: 48px; height: 48px"></div>

<script src="https://cdn.jsdelivr.net/npm/lottie-web@5.13.0/build/player/lottie_light.min.js"></script>
<script>
  const el = document.getElementById('copy-icon');
  const a = lottie.loadAnimation({ container: el, renderer: 'svg', loop: false, autoplay: false, path: 'https://useanimations.com/icons/copy.json' });
  el.addEventListener('mouseenter', () => { a.setDirection(1); a.play(); });
  el.addEventListener('mouseleave', () => { a.setDirection(-1); a.play(); });
</script>
```

## FAQ

### What does Copy do when the pointer leaves halfway?

It reverses from the frame it reached back to the start, so a quick pass of the pointer gives a short nudge rather than the full 0.17 s. Taps on touch screens are ignored, but keyboard focus plays it.

### Will screen readers read the Copy icon?

By default it is aria-hidden. Pass aria-label="Copy" to announce it as an image, or leave it hidden when the link or button it sits in has its own text.

### Can Copy play on click instead?

Yes: pass interaction="click-replay". It then replays once from the start on every click unless reduced motion is preferred.

## Related icons

- [Clipboard](https://useanimations.com/icons/clipboard) (hover-replay)
- [Archive](https://useanimations.com/icons/archive) (hover)
- [User minus](https://useanimations.com/icons/user-minus) (hover)
- [User X](https://useanimations.com/icons/user-x) (hover)
- [Mail](https://useanimations.com/icons/mail) (hover)
- [Share](https://useanimations.com/icons/share) (hover)
- [User plus](https://useanimations.com/icons/user-plus) (hover)
- [Book](https://useanimations.com/icons/book) (hover-replay)
- [User](https://useanimations.com/icons/user) (hover-replay)
- [Paperclip](https://useanimations.com/icons/paperclip) (hover-replay)
- [Users](https://useanimations.com/icons/users) (hover-replay)
- [Book Open](https://useanimations.com/icons/book-open) (hover-replay)

[All content icons](https://useanimations.com/categories/content) · [All icons](https://useanimations.com/icons)
