UAsset
Motion icon · Free

Gem icon — animated SVG

A free gem 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-gem" overflow="visible"><style>.uah-gem g.uam,.uah-gem [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-gem:hover,:hover>.uah-gem,:focus-visible>.uah-gem) g.uam{animation:uaLshineG 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLshineG{0%,100%{transform:none;opacity:1}30%{transform:scale(1.12) rotate(-6deg)}50%{opacity:.5}70%{transform:scale(.97) rotate(3deg);opacity:1}}@media (prefers-reduced-motion:reduce){.uah-gem *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M6 3h12l4 6-10 13L2 9z"/><path pathLength="1" d="M11 3 8 9l4 13 4-13-3-6M2 9h20"/></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-gem" overflow="visible"><style>.ual-gem g.uam,.ual-gem [class^=p]{transform-box:fill-box;transform-origin:center}.ual-gem g.uam{animation:uaLshineGL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLshineGL{0.0%,38.0%{transform:none;opacity:1}11.4%{transform:scale(1.12) rotate(-6deg)}19.0%{opacity:.5}26.6%{transform:scale(.97) rotate(3deg);opacity:1}}@media (prefers-reduced-motion:reduce){.ual-gem *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M6 3h12l4 6-10 13L2 9z"/><path pathLength="1" d="M11 3 8 9l4 13 4-13-3-6M2 9h20"/></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 3h12l4 6-10 13L2 9z"/><path pathLength="1" d="M11 3 8 9l4 13 4-13-3-6M2 9h20"/></svg>

Tags: design, gem, line, outline, stroke

More Design motion icons

LightbulbRocketCrownCoffeeSmileQR CodeGlassesGraduation CapInfinityAtomDiceVerifiedHeartStarFlagBriefcasePaletteBrushSparklesLightbulbRocketCrownCoffeeSmile

Browse categories