UAsset
Motion icon · Free

Pencil Ruler icon — animated SVG

A free pencil ruler 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-pencil-ruler" overflow="visible"><style>.uah-pencil-ruler g.uam,.uah-pencil-ruler [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-pencil-ruler:hover,:hover>.uah-pencil-ruler,:focus-visible>.uah-pencil-ruler) .pa{animation:uaLapartDa 0.60s cubic-bezier(.34,1.56,.64,1) 0s 1 both}:is(.uah-pencil-ruler:hover,:hover>.uah-pencil-ruler,:focus-visible>.uah-pencil-ruler) .pb{animation:uaLapartDb 0.60s cubic-bezier(.34,1.56,.64,1) 0s 1 both}@keyframes uaLapartDa{0%,100%{transform:none}45%{transform:translate(1.8px,-1.8px)}}@keyframes uaLapartDb{0%,100%{transform:none}45%{transform:translate(-1.8px,1.8px)}}@media (prefers-reduced-motion:reduce){.uah-pencil-ruler *{animation:none!important}}</style><g class="uam"><g class="pa"><path pathLength="1" d="m15 5 4 4M13 7 8.7 2.7a2.4 2.4 0 0 0-3.4 0L2.7 5.3a2.4 2.4 0 0 0 0 3.4L7 13M8 6l2-2M2 22l5.5-1.5L21.2 6.8a2.8 2.8 0 0 0-4-4L3.5 16.5z"/></g><g class="pb"><path pathLength="1" d="m18 16 2-2M17 11l4.3 4.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L11 17"/></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-pencil-ruler" overflow="visible"><style>.ual-pencil-ruler g.uam,.ual-pencil-ruler [class^=p]{transform-box:fill-box;transform-origin:center}.ual-pencil-ruler .pa{animation:uaLapartDaL 1.56s cubic-bezier(.34,1.56,.64,1) 0s infinite}.ual-pencil-ruler .pb{animation:uaLapartDbL 1.56s cubic-bezier(.34,1.56,.64,1) 0s infinite}@keyframes uaLapartDaL{0.0%,38.0%{transform:none}17.1%{transform:translate(1.8px,-1.8px)}}@keyframes uaLapartDbL{0.0%,38.0%{transform:none}17.1%{transform:translate(-1.8px,1.8px)}}@media (prefers-reduced-motion:reduce){.ual-pencil-ruler *{animation:none!important}}</style><g class="uam"><g class="pa"><path pathLength="1" d="m15 5 4 4M13 7 8.7 2.7a2.4 2.4 0 0 0-3.4 0L2.7 5.3a2.4 2.4 0 0 0 0 3.4L7 13M8 6l2-2M2 22l5.5-1.5L21.2 6.8a2.8 2.8 0 0 0-4-4L3.5 16.5z"/></g><g class="pb"><path pathLength="1" d="m18 16 2-2M17 11l4.3 4.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L11 17"/></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"><g class="pa"><path pathLength="1" d="m15 5 4 4M13 7 8.7 2.7a2.4 2.4 0 0 0-3.4 0L2.7 5.3a2.4 2.4 0 0 0 0 3.4L7 13M8 6l2-2M2 22l5.5-1.5L21.2 6.8a2.8 2.8 0 0 0-4-4L3.5 16.5z"/></g><g class="pb"><path pathLength="1" d="m18 16 2-2M17 11l4.3 4.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L11 17"/></g></svg>

Tags: creative, line, outline, pencil, ruler, stroke

More Creative motion icons

LayersPaletteBrushPen ToolCropTypeSparklesEraserHighlighterPaint BucketPipetteMagic WandBezier CurveShapesColor SwatchesFramePaint RollerSpray CanStickerGridVideo EditBrand MarkPen ToolCrop

Browse categories