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

Zoom In

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

actioninmagnifiermagnifyzoom

React

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

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

shadcn/ui

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

<AnimatedZoomIn size={24} />

Files

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

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