Skip to content
Hover to play
Interaction
Hover replay
Duration
1.33 s
Artboard
32 × 32 px
Lottie size
3.6 kB

Twitter X

Plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it. Free under the MIT license.

social mediatwittertwitter-xx

React

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

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

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/twitter-x.json
import { AnimatedTwitterX } from '@/components/animations/twitter-x';

<AnimatedTwitterX size={24} />

Files

https://useanimations.com/icons/twitter-x.json  # Lottie JSON
https://useanimations.com/icons/twitter-x.zip   # Lottie JSON + static SVGs

The animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.

Static SVG

twitter-x.svg