moon icon
moon from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.
- Name
- moon
- Set
- Huge Icons
- Style
- Stroke
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
moonAkar Iconsmoon-filledAnt Design IconsmoonBootstrap IconsmoonBoxIcons v2moonBoxIcons v2 SolidmoonCarbonmoonElement Plusmoon-fillEva IconsmoonFramework7 IconsmoonFont Awesome 6 RegularmoonFont Awesome 6 SolidmoonFont Awesome RegularmoonFont Awesome SolidmoonFeather Iconsmoon-outlineFlowbite Iconsmooncss.ggmoonHeroIconsmoonHumbleiconsmoonIconParkmoonIconPark OutlinemoonIconPark SolidmoonIconPark TwoTonemoonIonIconsmoonJam Icons
Related icons in Huge Icons
moon-01moon-02moon-angled-rain-zapmoon-cloudmoon-cloud-angled-rainmoon-cloud-angled-zapmoon-cloud-big-rainmoon-cloud-fast-windmoon-cloud-hailstonemoon-cloud-little-rainmoon-cloud-little-snowmoon-cloud-mid-rainmoon-cloud-mid-snowmoon-cloud-slow-windmoon-cloud-snowmoon-eclipsemoon-fast-windmoon-landingmoon-slow-windmoon-star
Use the moon icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10"/><path d="M12 22c3.314 0 6-4.477 6-10S15.314 2 12 2m-2 12.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0M11.125 7H11m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0"/></g></svg>
React
import type { SVGProps } from "react";
export function HugeiconsMoon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10"/><path d="M12 22c3.314 0 6-4.477 6-10S15.314 2 12 2m-2 12.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0M11.125 7H11m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10"/><path d="M12 22c3.314 0 6-4.477 6-10S15.314 2 12 2m-2 12.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0M11.125 7H11m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0"/></g></svg> </template>
CSS
.icon-moon {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M22%2012c0%205.523-4.477%2010-10%2010S2%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010%22%2F%3E%3Cpath%20d%3D%22M12%2022c3.314%200%206-4.477%206-10S15.314%202%2012%202m-2%2012.5a1.5%201.5%200%201%201-3%200a1.5%201.5%200%200%201%203%200M11.125%207H11m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M22%2012c0%205.523-4.477%2010-10%2010S2%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010%22%2F%3E%3Cpath%20d%3D%22M12%2022c3.314%200%206-4.477%206-10S15.314%202%2012%202m-2%2012.5a1.5%201.5%200%201%201-3%200a1.5%201.5%200%200%201%203%200M11.125%207H11m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/moon.svg?color=%231a73e8&size=48