Skip to content
Hover to loop
Interaction
Hover loop
Duration
4.00 s
Artboard
32 × 32 px
Lottie size
8.5 kB

Twitter

Loops while hovered, finishes the current cycle after mouseleave and stays static when reduced motion is preferred. Free under the MIT license.

social mediatwitter

React

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

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

shadcn/ui

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

<AnimatedTwitter size={24} />

Files

https://useanimations.com/icons/twitter.json  # Lottie JSON
https://useanimations.com/icons/twitter.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.svg