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

Zoom Out

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

actionmagnifiermagnifyoutzoom

React

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

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

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/zoom-out.json
import { AnimatedZoomOut } from '@/components/animations/zoom-out';

<AnimatedZoomOut size={24} />

Files

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

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