UAsset
Motion icon · Free

Music icon — animated SVG

A free music motion icon that acts out its meaning. The animation is pure CSS inside the SVG, so it works in any website or app without Lottie or JavaScript. 24px grid, 2px stroke, round caps. Free for personal and commercial use.

Open in UAsset

Hover SVG code (plays when hovered)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="uah-music" overflow="visible"><style>.uah-music g.uam,.uah-music [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-music:hover,:hover>.uah-music,:focus-visible>.uah-music) g.uam{transform-origin:50% 100%;animation:uaLdance 0.90s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLdance{0%,100%{transform:none}25%{transform:translateY(-2px) rotate(-8deg)}50%{transform:rotate(0)}75%{transform:translateY(-2px) rotate(8deg)}}@media (prefers-reduced-motion:reduce){.uah-music *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M9 18V5l12-2v13"/><circle pathLength="1" cx="6" cy="18" r="3"/><circle pathLength="1" cx="18" cy="16" r="3"/></g></svg>

Looping SVG code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="ual-music" overflow="visible"><style>.ual-music g.uam,.ual-music [class^=p]{transform-box:fill-box;transform-origin:center}.ual-music g.uam{transform-origin:50% 100%;animation:uaLdanceL 2.34s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLdanceL{0.0%,38.0%{transform:none}9.5%{transform:translateY(-2px) rotate(-8deg)}19.0%{transform:rotate(0)}28.5%{transform:translateY(-2px) rotate(8deg)}}@media (prefers-reduced-motion:reduce){.ual-music *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M9 18V5l12-2v13"/><circle pathLength="1" cx="6" cy="18" r="3"/><circle pathLength="1" cx="18" cy="16" r="3"/></g></svg>

Static SVG code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path pathLength="1" d="M9 18V5l12-2v13"/><circle pathLength="1" cx="6" cy="18" r="3"/><circle pathLength="1" cx="18" cy="16" r="3"/></svg>

Tags: line, media, music, outline, stroke

More Media motion icons

PlayPauseStopSkip ForwardSkip BackVolumeMuteHeadphonesCameraVideoFilmTVRadioShuffleRepeatRewindFast ForwardDiscCastApertureSpeakerGamepadImage PlusPlay Circle

Browse categories