Skip to content
Click to replay
Interaction
Click replay
Category
Action
Duration
1.20 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
1.6 kB

Edit 2

Animated edit 2 icon

Edit 2 is a 1.2 s micro animation that replays on every click; use it for text formatting buttons in editors. Click icons typically confirm send, save, refresh, download, add-to-cart and formatting buttons.

Also known aspencilwriterename

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

Use it

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

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

Static SVG

Edit 2 icon, edit-2 state
edit-2.svg

Other versions

Questions about the Edit 2 icon

›What happens if Edit 2 is clicked again before it finishes?

No queue: every click restarts the 1.2 s run from the first frame. With reduced motion preferred, clicks still reach your onClick but the icon stays still.

›How do I make Edit 2 an accessible button?

Put its events on a real button with the render prop: render={(events, icon) => <button aria-label="Edit 2" {...events}><span {...icon} /></button>}. The animation itself stays aria-hidden.

›Can Edit 2 play on hover instead?

Yes: pass interaction="hover-replay". It then plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it.