Motion icon · Free
Moon icon — animated SVG
A free moon 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" overflow="visible"><style>.uah-moon g.uam,.uah-moon [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-moon:hover,:hover>.uah-moon,:focus-visible>.uah-moon) g.uam{animation:uaLmoon 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLmoon{0%,100%{transform:none}30%{transform:rotate(-22deg)}60%{transform:rotate(9deg)}}@media (prefers-reduced-motion:reduce){.uah-moon *{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></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" overflow="visible"><style>.ual-moon g.uam,.ual-moon [class^=p]{transform-box:fill-box;transform-origin:center}.ual-moon g.uam{animation:uaLmoonL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLmoonL{0.0%,38.0%{transform:none}11.4%{transform:rotate(-22deg)}22.8%{transform:rotate(9deg)}}@media (prefers-reduced-motion:reduce){.ual-moon *{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></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"/></svg>
Tags: line, moon, outline, stroke, weather
More Weather motion icons
SunCloud RainSnowflakeZapFlameDropletLeafGlobeMap PinMapCompassNavigationCloud SunWindUmbrellaCloud LightningSunriseRainbowHeatCloud SnowCloud DrizzleFogSunsetMoon Star