Skip to content
Hover to loop
Interaction
Hover loop
Duration
1.00 s
Artboard
32 × 32 px
Lottie size
1.8 kB

Pocket

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-useanimations
import 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.json
import { 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 SVGs

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

Static SVG

pocket.svg