Hover to play, leave to reverse
- Interaction
- Hover
- Duration
- 1.00 s
- Artboard
- 32 × 32 px
- Lottie size
- 14.5 kB
YouTube V2
Plays forward on mouseenter and backward on mouseleave. Free under the MIT license.
social mediayoutubeyoutube-2
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import youtube2 from 'react-useanimations/lib/youtube2';
<UseAnimations animation={youtube2} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/youtube-v2.jsonimport { AnimatedYoutubeV2 } from '@/components/animations/youtube-v2';
<AnimatedYoutubeV2 size={24} />Files
https://useanimations.com/icons/youtube-v2.json # Lottie JSON
https://useanimations.com/icons/youtube-v2.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.