Skip to content
Hover to play, leave to reverse
Interaction
Hover
Category
Content
Duration
0.17 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
1.9 kB

Copy

Animated copy icon

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 asduplicateclipboard

Free under the MIT license · Markdown version · About the files

Use it

npm install react-useanimations
import UseAnimations from 'react-useanimations';
import copy from 'react-useanimations/lib/copy';

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

Static SVG

Copy icon, copy state
copy.svg

Questions about the Copy icon

›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.