UAsset
Motion icon · Free

Guitar icon — animated SVG

A free guitar 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-guitar" overflow="visible"><style>.uah-guitar g.uam,.uah-guitar [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-guitar:hover,:hover>.uah-guitar,:focus-visible>.uah-guitar) g.uam{animation:uaLstrum 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLstrum{0%,100%{transform:none}20%{transform:translateX(-.8px) rotate(-3deg)}40%{transform:translateX(.8px) rotate(3deg)}60%{transform:translateX(-.5px) rotate(-2deg)}80%{transform:translateX(.3px)}}@media (prefers-reduced-motion:reduce){.uah-guitar *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="m20 7 1.7-1.7a1 1 0 0 0 0-1.4l-1.6-1.6a1 1 0 0 0-1.4 0L17 4v3zM17 7l-5.5 5.5"/><path pathLength="1" d="M11.5 12.5a2.1 2.1 0 1 0-.01.01zM7.6 10.5a3.5 3.5 0 0 1 2.4-2c1.5-.4 2.7.3 3.4 1.3l.6.9.9.6c1 .7 1.7 1.9 1.3 3.4a3.5 3.5 0 0 1-2 2.4 6 6 0 0 1-.6 2.9C12.5 22 9.7 22.6 7.5 20.4l-3.9-3.9C1.4 14.3 2 11.5 4 10.4c.9-.5 2-.6 2.9-.6z"/></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-guitar" overflow="visible"><style>.ual-guitar g.uam,.ual-guitar [class^=p]{transform-box:fill-box;transform-origin:center}.ual-guitar g.uam{animation:uaLstrumL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLstrumL{0.0%,38.0%{transform:none}7.6%{transform:translateX(-.8px) rotate(-3deg)}15.2%{transform:translateX(.8px) rotate(3deg)}22.8%{transform:translateX(-.5px) rotate(-2deg)}30.4%{transform:translateX(.3px)}}@media (prefers-reduced-motion:reduce){.ual-guitar *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="m20 7 1.7-1.7a1 1 0 0 0 0-1.4l-1.6-1.6a1 1 0 0 0-1.4 0L17 4v3zM17 7l-5.5 5.5"/><path pathLength="1" d="M11.5 12.5a2.1 2.1 0 1 0-.01.01zM7.6 10.5a3.5 3.5 0 0 1 2.4-2c1.5-.4 2.7.3 3.4 1.3l.6.9.9.6c1 .7 1.7 1.9 1.3 3.4a3.5 3.5 0 0 1-2 2.4 6 6 0 0 1-.6 2.9C12.5 22 9.7 22.6 7.5 20.4l-3.9-3.9C1.4 14.3 2 11.5 4 10.4c.9-.5 2-.6 2.9-.6z"/></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="m20 7 1.7-1.7a1 1 0 0 0 0-1.4l-1.6-1.6a1 1 0 0 0-1.4 0L17 4v3zM17 7l-5.5 5.5"/><path pathLength="1" d="M11.5 12.5a2.1 2.1 0 1 0-.01.01zM7.6 10.5a3.5 3.5 0 0 1 2.4-2c1.5-.4 2.7.3 3.4 1.3l.6.9.9.6c1 .7 1.7 1.9 1.3 3.4a3.5 3.5 0 0 1-2 2.4 6 6 0 0 1-.6 2.9C12.5 22 9.7 22.6 7.5 20.4l-3.9-3.9C1.4 14.3 2 11.5 4 10.4c.9-.5 2-.6 2.9-.6z"/></svg>

Tags: guitar, line, media, outline, stroke

More Media motion icons

PlayPauseStopSkip ForwardSkip BackVolumeMuteMusicHeadphonesCameraVideoFilmTVRadioShuffleRepeatRewindFast ForwardDiscCastApertureSpeakerGamepadImage Plus

Browse categories