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