Skip to content
Hover to play, leave to reverse
Interaction
Hover
Duration
1.00 s
Artboard
32 × 32 px
Lottie size
8.0 kB

YouTube

Plays forward on mouseenter and backward on mouseleave. Free under the MIT license.

social mediayoutube

React

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

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

shadcn/ui

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

<AnimatedYoutube size={24} />

Files

https://useanimations.com/icons/youtube.json  # Lottie JSON
https://useanimations.com/icons/youtube.zip   # Lottie JSON + static SVGs

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

Static SVG

youtube.svg