Skip to content
Hover to play, leave to reverse
Interaction
Hover
Category
Social media
Duration
1.00 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
8.0 kB

YouTube

Animated youtube icon

The YouTube animated icon plays on hover and reverses on mouse leave in 1 s and pairs with YouTube V2 and Instagram in the social media set. Hover icons typically mark navigation items, delete buttons, settings, zoom controls and social links.

Free under the MIT license · Markdown version · About the files

Use it

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

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

Static SVG

YouTube icon, youtube state
youtube.svg

Other versions

Questions about the YouTube icon

›What does YouTube do when the pointer leaves halfway?

It reverses from the frame it reached back to the start, so a quick pass of the pointer gives a short nudge rather than the full 1 s. Taps on touch screens are ignored, but keyboard focus plays it.

›Will screen readers read the YouTube icon?

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

›Can YouTube play on click instead?

Yes: pass interaction="click-replay". It then replays once from the start on every click unless reduced motion is preferred.