Motion icon · Free
Magnet icon — animated SVG
A free magnet 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 UAssetHover 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-magnet" overflow="visible"><style>.uah-magnet g.uam,.uah-magnet [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-magnet:hover,:hover>.uah-magnet,:focus-visible>.uah-magnet) g.uam{animation:uaLpull 0.70s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLpull{0%,100%{transform:none}25%,45%{transform:translate(-1.5px,1.5px)}35%{transform:translate(-1px,1px)}}@media (prefers-reduced-motion:reduce){.uah-magnet *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="m6 15-4-4 6.8-6.8a7.1 7.1 0 0 1 10 10L12 21l-4-4 6.8-6.8a1.4 1.4 0 0 0-2-2z"/><path pathLength="1" d="m5 8 4 4M12 15l4 4"/></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-magnet" overflow="visible"><style>.ual-magnet g.uam,.ual-magnet [class^=p]{transform-box:fill-box;transform-origin:center}.ual-magnet g.uam{animation:uaLpullL 1.82s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLpullL{0.0%,38.0%{transform:none}9.5%,17.1%{transform:translate(-1.5px,1.5px)}13.3%{transform:translate(-1px,1px)}}@media (prefers-reduced-motion:reduce){.ual-magnet *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="m6 15-4-4 6.8-6.8a7.1 7.1 0 0 1 10 10L12 21l-4-4 6.8-6.8a1.4 1.4 0 0 0-2-2z"/><path pathLength="1" d="m5 8 4 4M12 15l4 4"/></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="m6 15-4-4 6.8-6.8a7.1 7.1 0 0 1 10 10L12 21l-4-4 6.8-6.8a1.4 1.4 0 0 0-2-2z"/><path pathLength="1" d="m5 8 4 4M12 15l4 4"/></svg>
Tags: line, magnet, outline, stroke, tools
More Tools motion icons
WrenchHammerRulerScanToolboxDrillTape MeasureWrenchHammerRulerMagnetScanToolboxDrillTape MeasureWrenchHammerRulerMagnetScanToolboxDrillTape Measure