Hover to loop
- Interaction
- Hover loop
- Duration
- 1.00 s
- Artboard
- 32 × 32 px
- Lottie size
- 1.8 kB
Loops while hovered, finishes the current cycle after mouseleave and stays static when reduced motion is preferred. Free under the MIT license.
pocketsocial media
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import pocket from 'react-useanimations/lib/pocket';
<UseAnimations animation={pocket} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/pocket.jsonimport { AnimatedPocket } from '@/components/animations/pocket';
<AnimatedPocket size={24} />Files
https://useanimations.com/icons/pocket.json # Lottie JSON
https://useanimations.com/icons/pocket.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.