Motion icon · Free
Moon Star icon — animated SVG
A free moon 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 UAssetHover 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-moon-star" overflow="visible"><style>.uah-moon-star g.uam,.uah-moon-star [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-moon-star:hover,:hover>.uah-moon-star,:focus-visible>.uah-moon-star) g.uam{animation:uaLmoonS 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}:is(.uah-moon-star:hover,:hover>.uah-moon-star,:focus-visible>.uah-moon-star) .pa{animation:uaLtwinkle 0.70s cubic-bezier(.65,0,.35,1) 0.1s 1 both}@keyframes uaLmoonS{0%,100%{transform:none}35%{transform:rotate(-14deg)}65%{transform:rotate(6deg)}}@keyframes uaLtwinkle{0%,100%{transform:none;opacity:1}30%{transform:scale(0) rotate(45deg);opacity:0}60%{transform:scale(1.3) rotate(90deg);opacity:1}}@media (prefers-reduced-motion:reduce){.uah-moon-star *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z"/><g class="pa"><path pathLength="1" d="M19 3v4M21 5h-4"/></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-moon-star" overflow="visible"><style>.ual-moon-star g.uam,.ual-moon-star [class^=p]{transform-box:fill-box;transform-origin:center}.ual-moon-star g.uam{animation:uaLmoonSL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}.ual-moon-star .pa{animation:uaLtwinkleL 1.82s cubic-bezier(.65,0,.35,1) 0.1s infinite}@keyframes uaLmoonSL{0.0%,38.0%{transform:none}13.3%{transform:rotate(-14deg)}24.7%{transform:rotate(6deg)}}@keyframes uaLtwinkleL{0.0%,38.0%{transform:none;opacity:1}11.4%{transform:scale(0) rotate(45deg);opacity:0}22.8%{transform:scale(1.3) rotate(90deg);opacity:1}}@media (prefers-reduced-motion:reduce){.ual-moon-star *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z"/><g class="pa"><path pathLength="1" d="M19 3v4M21 5h-4"/></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="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z"/><g class="pa"><path pathLength="1" d="M19 3v4M21 5h-4"/></g></svg>
Tags: line, moon, outline, star, stroke, weather
More Weather motion icons
SunMoonCloud RainSnowflakeZapFlameDropletLeafGlobeMap PinMapCompassNavigationCloud SunWindUmbrellaCloud LightningSunriseRainbowHeatCloud SnowCloud DrizzleFogSunset