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

Trash V2

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

actionbindeleteremovetrashtrash-2

React

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

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

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/trash-v2.json
import { AnimatedTrashV2 } from '@/components/animations/trash-v2';

<AnimatedTrashV2 size={24} />

Files

https://useanimations.com/icons/trash-v2.json  # Lottie JSON
https://useanimations.com/icons/trash-v2.zip   # Lottie JSON + static SVGs

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

Static SVG

trash-2.svg