UAsset
Motion icon · Free

Star icon — animated SVG

A free star 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-star" overflow="visible"><style>.uah-star g.uam,.uah-star [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-star:hover,:hover>.uah-star,:focus-visible>.uah-star) g.uam{animation:uaLstar 0.70s cubic-bezier(.2,.8,.2,1) 0s 1 both}@keyframes uaLstar{0%,100%{transform:none}35%{transform:scale(1.22) rotate(-14deg)}65%{transform:scale(.95) rotate(8deg)}}@media (prefers-reduced-motion:reduce){.uah-star *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M11.1 3.6a1 1 0 0 1 1.8 0l2.2 4.6 5 .7a1 1 0 0 1 .6 1.7l-3.6 3.6.9 5a1 1 0 0 1-1.5 1.1L12 18l-4.5 2.4a1 1 0 0 1-1.5-1.1l.9-5-3.6-3.6a1 1 0 0 1 .6-1.7l5-.7z"/></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-star" overflow="visible"><style>.ual-star g.uam,.ual-star [class^=p]{transform-box:fill-box;transform-origin:center}.ual-star g.uam{animation:uaLstarL 1.82s cubic-bezier(.2,.8,.2,1) 0s infinite}@keyframes uaLstarL{0.0%,38.0%{transform:none}13.3%{transform:scale(1.22) rotate(-14deg)}24.7%{transform:scale(.95) rotate(8deg)}}@media (prefers-reduced-motion:reduce){.ual-star *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M11.1 3.6a1 1 0 0 1 1.8 0l2.2 4.6 5 .7a1 1 0 0 1 .6 1.7l-3.6 3.6.9 5a1 1 0 0 1-1.5 1.1L12 18l-4.5 2.4a1 1 0 0 1-1.5-1.1l.9-5-3.6-3.6a1 1 0 0 1 .6-1.7l5-.7z"/></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="M11.1 3.6a1 1 0 0 1 1.8 0l2.2 4.6 5 .7a1 1 0 0 1 .6 1.7l-3.6 3.6.9 5a1 1 0 0 1-1.5 1.1L12 18l-4.5 2.4a1 1 0 0 1-1.5-1.1l.9-5-3.6-3.6a1 1 0 0 1 .6-1.7l5-.7z"/></svg>

Tags: actions, line, outline, star, stroke

More Actions motion icons

PlusMinusCloseCheckCheck CircleClose CirclePlus CirclePlus SquarePencilEditTrashCopyDownloadUploadShareShare UpLinkPinBookmarkHeartThumbs UpFlagSendLog In

Browse categories