moon icon
moon from Feather Icons by Cole Bemis · Regular · MIT Free for personal and commercial use.
- Name
- moon
- Set
- Feather Icons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
moonAkar IconsmoonBootstrap IconsmoonBoxIcons v2moonBoxIcons v2 SolidmoonCarbonmoon-fillEva IconsmoonFramework7 IconsmoonFont Awesome 6 RegularmoonFont Awesome 6 Solidmooncss.ggmoonHeroIconsmoonHuge IconsmoonHumbleiconsmoonIonIconsmoonJam IconsmoonLine AwesomemoonMaterial Line IconsmoonSVG LogosmoonLucidemoonMage IconsmoonMajesticonsmoon-fillMingCute Iconmoon-16OcticonsmoonPhosphor
Use the moon icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12.79A9 9 0 1 1 11.21 3A7 7 0 0 0 21 12.79"/></svg>
React
import type { SVGProps } from "react";
export function FeatherMoon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M21 12.79A9 9 0 1 1 11.21 3A7 7 0 0 0 21 12.79"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12.79A9 9 0 1 1 11.21 3A7 7 0 0 0 21 12.79"/></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%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M21%2012.79A9%209%200%201%201%2011.21%203A7%207%200%200%200%2021%2012.79%22%2F%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%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M21%2012.79A9%209%200%201%201%2011.21%203A7%207%200%200%200%2021%2012.79%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/feather/moon.svg?color=%231a73e8&size=48