UAsset
Motion icon · Free

Underline icon — animated SVG

A free underline 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-underline" overflow="visible"><style>.uah-underline g.uam,.uah-underline [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-underline:hover,:hover>.uah-underline,:focus-visible>.uah-underline) .pa{transform-origin:0% 50%;animation:uaLul 0.60s cubic-bezier(.2,.8,.2,1) 0s 1 both}@keyframes uaLul{0%{transform:scaleX(0)}70%{transform:scaleX(1.06)}100%{transform:none}}@media (prefers-reduced-motion:reduce){.uah-underline *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M6 4v6a6 6 0 0 0 12 0V4"/><g class="pa"><path pathLength="1" d="M4 20h16"/></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-underline" overflow="visible"><style>.ual-underline g.uam,.ual-underline [class^=p]{transform-box:fill-box;transform-origin:center}.ual-underline .pa{transform-origin:0% 50%;animation:uaLulL 1.56s cubic-bezier(.2,.8,.2,1) 0s infinite}@keyframes uaLulL{0.0%{transform:scaleX(0)}26.6%{transform:scaleX(1.06)}38.0%{transform:none}}@media (prefers-reduced-motion:reduce){.ual-underline *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M6 4v6a6 6 0 0 0 12 0V4"/><g class="pa"><path pathLength="1" d="M4 20h16"/></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="M6 4v6a6 6 0 0 0 12 0V4"/><g class="pa"><path pathLength="1" d="M4 20h16"/></g></svg>

Tags: editor, line, outline, stroke, underline

More Editor motion icons

BoldItalicStrikethroughAlign LeftAlign CenterAlign RightListList ChecksList OrderedQuoteHashHeadingText BoldText ItalicText UnderlineText StrikethroughHeading OneHeading TwoParagraphAlign JustifyBullet ListNumbered ListChecklistBlock Quote

Browse categories