UAsset
Motion icon · Free

Drum icon — animated SVG

A free drum 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-drum" overflow="visible"><style>.uah-drum g.uam,.uah-drum [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-drum:hover,:hover>.uah-drum,:focus-visible>.uah-drum) .pa{animation:uaLstickL 0.50s cubic-bezier(.65,0,.35,1) 0s 1 both}:is(.uah-drum:hover,:hover>.uah-drum,:focus-visible>.uah-drum) .pb{animation:uaLstickR 0.50s cubic-bezier(.65,0,.35,1) 0.2s 1 both}:is(.uah-drum:hover,:hover>.uah-drum,:focus-visible>.uah-drum) g.uam{transform-origin:50% 100%;animation:uaLsquash 0.50s cubic-bezier(.2,.8,.2,1) 0.15s 1 both}@keyframes uaLstickL{0%,100%{transform:none}30%{transform:rotate(-30deg)}50%{transform:rotate(6deg)}}@keyframes uaLstickR{0%,100%{transform:none}30%{transform:rotate(30deg)}50%{transform:rotate(-6deg)}}@keyframes uaLsquash{0%,100%{transform:none}22%{transform:scale(1.08,.88)}48%{transform:translateY(-2.6px) scale(.95,1.06)}72%{transform:scale(1.04,.95)}}@media (prefers-reduced-motion:reduce){.uah-drum *{animation:none!important}}</style><g class="uam"><ellipse pathLength="1" cx="12" cy="10.5" rx="9" ry="3"/><path pathLength="1" d="M 3,10.5 l 0,7 c 0,1.7 4,3 9,3 s 9,-1.3 9,-3 L 21,10.5 M 7,13.1 L 7,20.5 M 12,13.5 l 0,7 M 17,13.1 L 17,20.5"/><g class="pa" style="transform-box:view-box;transform-origin:10px 8.5px"><path pathLength="1" d="m 2,3.5 l 8,5"/></g><g class="pb" style="transform-box:view-box;transform-origin:14px 8.5px"><path pathLength="1" d="m 22,3.5 l -8,5"/></g></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-drum" overflow="visible"><style>.ual-drum g.uam,.ual-drum [class^=p]{transform-box:fill-box;transform-origin:center}.ual-drum .pa{animation:uaLstickLL 1.30s cubic-bezier(.65,0,.35,1) 0s infinite}.ual-drum .pb{animation:uaLstickRL 1.30s cubic-bezier(.65,0,.35,1) 0.2s infinite}.ual-drum g.uam{transform-origin:50% 100%;animation:uaLsquashL 1.30s cubic-bezier(.2,.8,.2,1) 0.15s infinite}@keyframes uaLstickLL{0.0%,38.0%{transform:none}11.4%{transform:rotate(-30deg)}19.0%{transform:rotate(6deg)}}@keyframes uaLstickRL{0.0%,38.0%{transform:none}11.4%{transform:rotate(30deg)}19.0%{transform:rotate(-6deg)}}@keyframes uaLsquashL{0.0%,38.0%{transform:none}8.4%{transform:scale(1.08,.88)}18.2%{transform:translateY(-2.6px) scale(.95,1.06)}27.4%{transform:scale(1.04,.95)}}@media (prefers-reduced-motion:reduce){.ual-drum *{animation:none!important}}</style><g class="uam"><ellipse pathLength="1" cx="12" cy="10.5" rx="9" ry="3"/><path pathLength="1" d="M 3,10.5 l 0,7 c 0,1.7 4,3 9,3 s 9,-1.3 9,-3 L 21,10.5 M 7,13.1 L 7,20.5 M 12,13.5 l 0,7 M 17,13.1 L 17,20.5"/><g class="pa" style="transform-box:view-box;transform-origin:10px 8.5px"><path pathLength="1" d="m 2,3.5 l 8,5"/></g><g class="pb" style="transform-box:view-box;transform-origin:14px 8.5px"><path pathLength="1" d="m 22,3.5 l -8,5"/></g></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"><ellipse pathLength="1" cx="12" cy="10.5" rx="9" ry="3"/><path pathLength="1" d="M 3,10.5 l 0,7 c 0,1.7 4,3 9,3 s 9,-1.3 9,-3 L 21,10.5 M 7,13.1 L 7,20.5 M 12,13.5 l 0,7 M 17,13.1 L 17,20.5"/><g class="pa" style="transform-box:view-box;transform-origin:10px 8.5px"><path pathLength="1" d="m 2,3.5 l 8,5"/></g><g class="pb" style="transform-box:view-box;transform-origin:14px 8.5px"><path pathLength="1" d="m 22,3.5 l -8,5"/></g></svg>

Tags: drum, line, media, outline, stroke

More Media motion icons

PlayPauseStopSkip ForwardSkip BackVolumeMuteMusicHeadphonesCameraVideoFilmTVRadioShuffleRepeatRewindFast ForwardDiscCastApertureSpeakerGamepadImage Plus

Browse categories