UAsset
Motion icon · Free

Edit icon — animated SVG

A free edit 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-square-pen" overflow="visible"><style>.uah-square-pen g.uam,.uah-square-pen [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-square-pen:hover,:hover>.uah-square-pen,:focus-visible>.uah-square-pen) .pa{transform-origin:0% 100%;animation:uaLwrite 0.90s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLwrite{0%,100%{transform:none}20%{transform:translate(-1.2px,1px) rotate(-7deg)}40%{transform:translate(1.2px,0) rotate(5deg)}60%{transform:translate(-.8px,1px) rotate(-4deg)}80%{transform:translate(.6px,0) rotate(2deg)}}@media (prefers-reduced-motion:reduce){.uah-square-pen *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 4H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-7"/><g class="pa"><path pathLength="1" d="M18.4 2.6a2 2 0 0 1 2.9 2.9L12 14.8l-4 1 1-4z"/></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-square-pen" overflow="visible"><style>.ual-square-pen g.uam,.ual-square-pen [class^=p]{transform-box:fill-box;transform-origin:center}.ual-square-pen .pa{transform-origin:0% 100%;animation:uaLwriteL 2.34s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLwriteL{0.0%,38.0%{transform:none}7.6%{transform:translate(-1.2px,1px) rotate(-7deg)}15.2%{transform:translate(1.2px,0) rotate(5deg)}22.8%{transform:translate(-.8px,1px) rotate(-4deg)}30.4%{transform:translate(.6px,0) rotate(2deg)}}@media (prefers-reduced-motion:reduce){.ual-square-pen *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 4H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-7"/><g class="pa"><path pathLength="1" d="M18.4 2.6a2 2 0 0 1 2.9 2.9L12 14.8l-4 1 1-4z"/></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"><path pathLength="1" d="M12 4H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-7"/><g class="pa"><path pathLength="1" d="M18.4 2.6a2 2 0 0 1 2.9 2.9L12 14.8l-4 1 1-4z"/></g></svg>

Tags: actions, line, outline, pen, square, stroke

More Actions motion icons

PlusMinusCloseCheckCheck CircleClose CirclePlus CirclePlus SquarePencilTrashCopyDownloadUploadShareShare UpLinkPinBookmarkHeartStarThumbs UpFlagSendLog In

Browse categories