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

Codepen

Animated codepen icon

Codepen is a 1.67 s micro animation from the social media set that loops while hovered, like Github and Dribbble. 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 codepen from 'react-useanimations/lib/codepen';

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

Static SVG

Codepen icon, codepen state
codepen.svg

Questions about the Codepen icon

›Where does Codepen stop after hover?

It finishes the cycle it is in (at most 1.67 s) and then rests on its first frame, so it never freezes mid-motion. Keyboard focus plays it as well; a tap on a touch screen does not.

›Is Codepen decorative?

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

›Can Codepen loop all the time instead?

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