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

Twitter

Animated twitter icon

The Twitter animated icon loops while hovered in 4 s and pairs with Twitter X and Github 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 twitter from 'react-useanimations/lib/twitter';

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

Static SVG

Twitter icon, twitter state
twitter.svg

Questions about the Twitter icon

›Does Twitter stop as soon as the pointer leaves?

It finishes the cycle it is in (at most 4 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 Twitter icon?

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

›Can Twitter loop all the time instead?

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