UAsset
Motion icon · Free

Flag icon — animated SVG

A free flag 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-flag" overflow="visible"><style>.uah-flag g.uam,.uah-flag [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-flag:hover,:hover>.uah-flag,:focus-visible>.uah-flag) .pa{transform-origin:0% 50%;animation:uaLwave 0.90s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLwave{0%,100%{transform:none}25%{transform:skewY(-7deg) scaleX(.96)}50%{transform:skewY(5deg)}75%{transform:skewY(-2deg)}}@media (prefers-reduced-motion:reduce){.uah-flag *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M5 22V4"/><g class="pa"><path pathLength="1" d="M5 4c4-2.5 7 2.5 14 0v10c-7 2.5-10-2.5-14 0"/></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-flag" overflow="visible"><style>.ual-flag g.uam,.ual-flag [class^=p]{transform-box:fill-box;transform-origin:center}.ual-flag .pa{transform-origin:0% 50%;animation:uaLwaveL 2.34s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLwaveL{0.0%,38.0%{transform:none}9.5%{transform:skewY(-7deg) scaleX(.96)}19.0%{transform:skewY(5deg)}28.5%{transform:skewY(-2deg)}}@media (prefers-reduced-motion:reduce){.ual-flag *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M5 22V4"/><g class="pa"><path pathLength="1" d="M5 4c4-2.5 7 2.5 14 0v10c-7 2.5-10-2.5-14 0"/></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="M5 22V4"/><g class="pa"><path pathLength="1" d="M5 4c4-2.5 7 2.5 14 0v10c-7 2.5-10-2.5-14 0"/></g></svg>

Tags: actions, flag, line, outline, stroke

More Actions motion icons

PlusMinusCloseCheckCheck CircleClose CirclePlus CirclePlus SquarePencilEditTrashCopyDownloadUploadShareShare UpLinkPinBookmarkHeartStarThumbs UpSendLog In

Browse categories