Skip to content
Hover to play, leave to reverse
Interaction
Hover
Duration
2.00 s
Artboard
32 × 32 px
Lottie size
2.3 kB

Edit

Plays forward on mouseenter and backward on mouseleave. Free under the MIT license.

actioneditedit-2pencilwrite

React

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

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

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/edit.json
import { AnimatedEdit } from '@/components/animations/edit';

<AnimatedEdit size={24} />

Files

https://useanimations.com/icons/edit.json  # Lottie JSON
https://useanimations.com/icons/edit.zip   # Lottie JSON + static SVGs

The animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.

Static SVG

edit-2.svg
edit.svg