Hover to play, leave to reverse
- Interaction
- Hover
- Duration
- 0.27 s
- Artboard
- 32 × 32 px
- Lottie size
- 2.9 kB
User X
Plays forward on mouseenter and backward on mouseleave. Free under the MIT license.
accountcontentpersonprofileuseruser-xx
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import userX from 'react-useanimations/lib/userX';
<UseAnimations animation={userX} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/user-x.jsonimport { AnimatedUserX } from '@/components/animations/user-x';
<AnimatedUserX size={24} />Files
https://useanimations.com/icons/user-x.json # Lottie JSON
https://useanimations.com/icons/user-x.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.