UAsset
Motion icon · Free

Hammer icon — animated SVG

A free hammer 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-hammer" overflow="visible"><style>.uah-hammer g.uam,.uah-hammer [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-hammer:hover,:hover>.uah-hammer,:focus-visible>.uah-hammer) g.uam{animation:uaLhammer 0.70s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLhammer{0%,100%{transform:none}30%{transform:rotate(-28deg)}50%{transform:rotate(6deg)}62%{transform:rotate(0)}}@media (prefers-reduced-motion:reduce){.uah-hammer *{animation:none!important}}</style><g class="uam" style="transform-box:view-box;transform-origin:5px 20px"><path pathLength="1" d="M12.6 9.6 3.4 18.8a1.42 1.42 0 0 0 2 2l9.2-9.2M10.5 7.5 15 3l6 6-4.5 4.5z"/></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-hammer" overflow="visible"><style>.ual-hammer g.uam,.ual-hammer [class^=p]{transform-box:fill-box;transform-origin:center}.ual-hammer g.uam{animation:uaLhammerL 1.82s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLhammerL{0.0%,38.0%{transform:none}11.4%{transform:rotate(-28deg)}19.0%{transform:rotate(6deg)}23.6%{transform:rotate(0)}}@media (prefers-reduced-motion:reduce){.ual-hammer *{animation:none!important}}</style><g class="uam" style="transform-box:view-box;transform-origin:5px 20px"><path pathLength="1" d="M12.6 9.6 3.4 18.8a1.42 1.42 0 0 0 2 2l9.2-9.2M10.5 7.5 15 3l6 6-4.5 4.5z"/></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="M12.6 9.6 3.4 18.8a1.42 1.42 0 0 0 2 2l9.2-9.2M10.5 7.5 15 3l6 6-4.5 4.5z"/></svg>

Tags: hammer, line, outline, stroke, tools

More Tools motion icons

WrenchRulerMagnetScanToolboxDrillTape MeasureWrenchHammerRulerMagnetScanToolboxDrillTape MeasureWrenchHammerRulerMagnetScanToolboxDrillTape Measure

Browse categories