Skip to content
Hover to loop
Interaction
Hover loop
Category
Social media
Duration
1.00 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
3.2 kB

Github

Animated github icon

The Github animated icon loops while hovered in 1 s and pairs with Twitter and Telegram in the social media set. Hover loop icons typically mark social links, community invites, portfolio links and language pickers.

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

Use it

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

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

Static SVG

Github icon, github state
github.svg

Questions about the Github icon

›Does Github stop as soon as the pointer leaves?

It finishes the cycle it is in (at most 1 s) and then rests on its first frame, so it never freezes mid-motion. Taps on touch screens are ignored, but keyboard focus plays it.

›Will screen readers read the Github icon?

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

›Can Github loop all the time instead?

Yes: pass interaction="loop". It then plays continuously; stays on the static first frame when reduced motion is preferred.