UAsset
Motion icon · Free

Pen Tool icon — animated SVG

A free pen tool 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-pen-tool" overflow="visible"><style>.uah-pen-tool g.uam,.uah-pen-tool [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-pen-tool:hover,:hover>.uah-pen-tool,:focus-visible>.uah-pen-tool) g.uam{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-pen-tool *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M15.7 21.3a1 1 0 0 1-1.4 0l-1.6-1.6a1 1 0 0 1 0-1.4l5.6-5.6a1 1 0 0 1 1.4 0l1.6 1.6a1 1 0 0 1 0 1.4z"/><path pathLength="1" d="m18 13-1.4-6.9a1 1 0 0 0-.7-.8L3.2 2a1 1 0 0 0-1.2 1.2l3.3 12.7a1 1 0 0 0 .8.7L13 18"/><path pathLength="1" d="m2.3 2.3 7.3 7.3"/><circle pathLength="1" cx="11" cy="11" r="2"/></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-pen-tool" overflow="visible"><style>.ual-pen-tool g.uam,.ual-pen-tool [class^=p]{transform-box:fill-box;transform-origin:center}.ual-pen-tool g.uam{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-pen-tool *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M15.7 21.3a1 1 0 0 1-1.4 0l-1.6-1.6a1 1 0 0 1 0-1.4l5.6-5.6a1 1 0 0 1 1.4 0l1.6 1.6a1 1 0 0 1 0 1.4z"/><path pathLength="1" d="m18 13-1.4-6.9a1 1 0 0 0-.7-.8L3.2 2a1 1 0 0 0-1.2 1.2l3.3 12.7a1 1 0 0 0 .8.7L13 18"/><path pathLength="1" d="m2.3 2.3 7.3 7.3"/><circle pathLength="1" cx="11" cy="11" r="2"/></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="M15.7 21.3a1 1 0 0 1-1.4 0l-1.6-1.6a1 1 0 0 1 0-1.4l5.6-5.6a1 1 0 0 1 1.4 0l1.6 1.6a1 1 0 0 1 0 1.4z"/><path pathLength="1" d="m18 13-1.4-6.9a1 1 0 0 0-.7-.8L3.2 2a1 1 0 0 0-1.2 1.2l3.3 12.7a1 1 0 0 0 .8.7L13 18"/><path pathLength="1" d="m2.3 2.3 7.3 7.3"/><circle pathLength="1" cx="11" cy="11" r="2"/></svg>

Tags: creative, line, outline, pen, stroke, tool

More Creative motion icons

LayersPaletteBrushCropTypeSparklesEraserHighlighterPaint BucketPipetteMagic WandBezier CurveShapesColor SwatchesFramePaint RollerSpray CanPencil RulerStickerGridVideo EditBrand MarkPen ToolCrop

Browse categories