Hover to loop
- Interaction
- Hover loop
- Duration
- 2.00 s
- Artboard
- 32 × 32 px
- Lottie size
- 1.3 kB
Loops while hovered, finishes the current cycle after mouseleave and stays static when reduced motion is preferred. Free under the MIT license.
facebooksocial media
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import facebook from 'react-useanimations/lib/facebook';
<UseAnimations animation={facebook} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/facebook.jsonimport { AnimatedFacebook } from '@/components/animations/facebook';
<AnimatedFacebook size={24} />Files
https://useanimations.com/icons/facebook.json # Lottie JSON
https://useanimations.com/icons/facebook.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.