Hover to play, leave to reverse
- Interaction
- Hover
- Duration
- 0.17 s
- Artboard
- 32 × 32 px
- Lottie size
- 3.9 kB
Archive
Plays forward on mouseenter and backward on mouseleave. Free under the MIT license.
archiveboxcontentstorage
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import archive from 'react-useanimations/lib/archive';
<UseAnimations animation={archive} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/archive.jsonimport { AnimatedArchive } from '@/components/animations/archive';
<AnimatedArchive size={24} />Files
https://useanimations.com/icons/archive.json # Lottie JSON
https://useanimations.com/icons/archive.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.