Skip to content
Hover to play, leave to reverse
Interaction
Hover
Category
Action
Duration
1.00 s
Frame rate
29.97 fps
Artboard
32 × 32 px
Lottie size
2.9 kB

Zoom Out

Animated zoom out icon

Use the Zoom Out icon for zoom in and zoom out controls: it plays on hover and reverses on mouse leave and takes 1 s. Hover icons typically mark navigation items, delete buttons, settings, zoom controls and social links.

magnifiermagnify

Free under the MIT license · Markdown version · About the files

Use it

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

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

Questions about the Zoom Out icon

›Does Zoom Out finish its animation after mouse leave?

It reverses from the frame it reached back to the start, so a quick pass of the pointer gives a short nudge rather than the full 1 s. Keyboard focus plays it as well; a tap on a touch screen does not.

›Is Zoom Out decorative?

By default it is aria-hidden. Pass aria-label="Zoom Out" to announce it as an image, or leave it hidden when the link or button it sits in has its own text.

›Can Zoom Out play on click instead?

Yes: pass interaction="click-replay". It then replays once from the start on every click unless reduced motion is preferred.