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