Skip to content
Hover to play, leave to reverse
Interaction
Hover
Category
Content
Duration
0.27 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
2.9 kB

User X

Animated user x icon

The User X animated icon plays on hover and reverses on mouse leave in 0.27 s, a good fit for team member lists with add and remove user actions. Hover icons typically mark navigation items, delete buttons, settings, zoom controls and social links.

accountpersonprofile

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

Use it

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

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

Static SVG

User X icon, user-x state
user-x.svg

Questions about the User X icon

›Does User X 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 0.27 s. Keyboard focus plays it as well; a tap on a touch screen does not.

›Is User X decorative?

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

›Can User X play on click instead?

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