# moon icon

Moon. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/moon

- Category: Weather
- Use it for: dark mode, night, dark theme, night mode, nighttime, night time
- Tags: moon, crescent, night, dark, sleep
- Family: air-quality, haze, hurricane, moon-star, rainbow, snowflake, sun, sun-dim, sunrise, sunset, thermometer, thermometer-snowflake, tornado, umbrella, umbrella-plus, wind
- Component name: MoonIcon
- Added: 2026-10-14

## Alternatives

- `sun-moon`: a theme switcher: light, dark or system
- `moon-star`: a clear night in a forecast, or bedtime
- `cloud-moon`: a cloudy night

## Also fits

- theme: dark mode alone
- clear night: night in general (the weather set default)
- sunset: night

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/moon.svg · PNG https://gentleface.com/png/line-round/16/moon.png · https://gentleface.com/png/line-round/32/moon.png · https://gentleface.com/png/line-round/48/moon.png
- line-soft: https://gentleface.com/svg/line-soft/16/moon.svg · PNG https://gentleface.com/png/line-soft/16/moon.png · https://gentleface.com/png/line-soft/32/moon.png · https://gentleface.com/png/line-soft/48/moon.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/moon.svg · PNG https://gentleface.com/png/line-sharp/16/moon.png · https://gentleface.com/png/line-sharp/32/moon.png · https://gentleface.com/png/line-sharp/48/moon.png
- solid-round: https://gentleface.com/svg/solid-round/16/moon.svg · PNG https://gentleface.com/png/solid-round/16/moon.png · https://gentleface.com/png/solid-round/32/moon.png · https://gentleface.com/png/solid-round/48/moon.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/moon.svg · PNG https://gentleface.com/png/solid-soft/16/moon.png · https://gentleface.com/png/solid-soft/32/moon.png · https://gentleface.com/png/solid-soft/48/moon.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/moon.svg · PNG https://gentleface.com/png/solid-sharp/16/moon.png · https://gentleface.com/png/solid-sharp/32/moon.png · https://gentleface.com/png/solid-sharp/48/moon.png

The SVG of every style: https://gentleface.com/icons/moon.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z"/></svg>
```

### React

```tsx
// Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon
import type { SVGProps } from 'react';

export function MoonIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/moon.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon. Takes the text color. */
.icon-moon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#moon"/></svg>
```

### SwiftUI

```swift
// Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon
import SwiftUI

struct MoonIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5.929, y: 1.744))
        p.addCurve(to: CGPoint(x: 5.985, y: 2.122), control1: CGPoint(x: 6, y: 1.862), control2: CGPoint(x: 6.019, y: 1.988))
        p.addCurve(to: CGPoint(x: 5.962, y: 5.209), control1: CGPoint(x: 5.726, y: 3.149), control2: CGPoint(x: 5.718, y: 4.178))
        p.addCurve(to: CGPoint(x: 6.594, y: 6.849), control1: CGPoint(x: 6.098, y: 5.784), control2: CGPoint(x: 6.309, y: 6.331))
        p.addCurve(to: CGPoint(x: 7.691, y: 8.309), control1: CGPoint(x: 6.89, y: 7.387), control2: CGPoint(x: 7.256, y: 7.874))
        p.addCurve(to: CGPoint(x: 9.151, y: 9.406), control1: CGPoint(x: 8.126, y: 8.744), control2: CGPoint(x: 8.613, y: 9.11))
        p.addCurve(to: CGPoint(x: 10.791, y: 10.038), control1: CGPoint(x: 9.669, y: 9.691), control2: CGPoint(x: 10.216, y: 9.902))
        p.addCurve(to: CGPoint(x: 13.878, y: 10.015), control1: CGPoint(x: 11.822, y: 10.282), control2: CGPoint(x: 12.851, y: 10.274))
        p.addCurve(to: CGPoint(x: 14.192, y: 10.038), control1: CGPoint(x: 13.985, y: 9.988), control2: CGPoint(x: 14.09, y: 9.996))
        p.addCurve(to: CGPoint(x: 14.465, y: 10.308), control1: CGPoint(x: 14.322, y: 10.093), control2: CGPoint(x: 14.413, y: 10.183))
        p.addCurve(to: CGPoint(x: 14.462, y: 10.692), control1: CGPoint(x: 14.517, y: 10.434), control2: CGPoint(x: 14.516, y: 10.562))
        p.addCurve(to: CGPoint(x: 12.6, y: 13.277), control1: CGPoint(x: 14.042, y: 11.699), control2: CGPoint(x: 13.422, y: 12.56))
        p.addCurve(to: CGPoint(x: 11.112, y: 14.27), control1: CGPoint(x: 12.146, y: 13.672), control2: CGPoint(x: 11.65, y: 14.003))
        p.addCurve(to: CGPoint(x: 9.358, y: 14.867), control1: CGPoint(x: 10.554, y: 14.547), control2: CGPoint(x: 9.969, y: 14.746))
        p.addCurve(to: CGPoint(x: 7.51, y: 14.983), control1: CGPoint(x: 8.747, y: 14.988), control2: CGPoint(x: 8.131, y: 15.026))
        p.addCurve(to: CGPoint(x: 5.756, y: 14.63), control1: CGPoint(x: 6.91, y: 14.941), control2: CGPoint(x: 6.325, y: 14.823))
        p.addCurve(to: CGPoint(x: 3.05, y: 12.95), control1: CGPoint(x: 4.723, y: 14.281), control2: CGPoint(x: 3.821, y: 13.721))
        p.addCurve(to: CGPoint(x: 1.37, y: 10.244), control1: CGPoint(x: 2.279, y: 12.179), control2: CGPoint(x: 1.719, y: 11.277))
        p.addCurve(to: CGPoint(x: 1.017, y: 8.49), control1: CGPoint(x: 1.177, y: 9.675), control2: CGPoint(x: 1.059, y: 9.09))
        p.addCurve(to: CGPoint(x: 1.133, y: 6.642), control1: CGPoint(x: 0.974, y: 7.869), control2: CGPoint(x: 1.012, y: 7.253))
        p.addCurve(to: CGPoint(x: 1.73, y: 4.888), control1: CGPoint(x: 1.254, y: 6.031), control2: CGPoint(x: 1.453, y: 5.446))
        p.addCurve(to: CGPoint(x: 2.723, y: 3.4), control1: CGPoint(x: 1.997, y: 4.35), control2: CGPoint(x: 2.328, y: 3.854))
        p.addCurve(to: CGPoint(x: 5.308, y: 1.538), control1: CGPoint(x: 3.44, y: 2.578), control2: CGPoint(x: 4.301, y: 1.958))
        p.addCurve(to: CGPoint(x: 5.622, y: 1.515), control1: CGPoint(x: 5.41, y: 1.496), control2: CGPoint(x: 5.515, y: 1.488))
        p.addCurve(to: CGPoint(x: 5.929, y: 1.744), control1: CGPoint(x: 5.756, y: 1.549), control2: CGPoint(x: 5.859, y: 1.625))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.114, y: 6.836))
        p.addCurve(to: CGPoint(x: 2.317, y: 9.924), control1: CGPoint(x: 1.907, y: 7.883), control2: CGPoint(x: 1.974, y: 8.912))
        p.addCurve(to: CGPoint(x: 3.757, y: 12.243), control1: CGPoint(x: 2.616, y: 10.809), control2: CGPoint(x: 3.097, y: 11.582))
        p.addCurve(to: CGPoint(x: 6.076, y: 13.683), control1: CGPoint(x: 4.418, y: 12.903), control2: CGPoint(x: 5.191, y: 13.384))
        p.addCurve(to: CGPoint(x: 9.164, y: 13.886), control1: CGPoint(x: 7.088, y: 14.026), control2: CGPoint(x: 8.117, y: 14.093))
        p.addCurve(to: CGPoint(x: 11.943, y: 12.523), control1: CGPoint(x: 10.212, y: 13.679), control2: CGPoint(x: 11.138, y: 13.224))
        p.addCurve(to: CGPoint(x: 13.096, y: 11.171), control1: CGPoint(x: 12.4, y: 12.125), control2: CGPoint(x: 12.784, y: 11.674))
        p.addCurve(to: CGPoint(x: 10.561, y: 11.011), control1: CGPoint(x: 12.252, y: 11.265), control2: CGPoint(x: 11.407, y: 11.211))
        p.addCurve(to: CGPoint(x: 8.669, y: 10.282), control1: CGPoint(x: 9.897, y: 10.854), control2: CGPoint(x: 9.266, y: 10.611))
        p.addCurve(to: CGPoint(x: 6.984, y: 9.016), control1: CGPoint(x: 8.047, y: 9.94), control2: CGPoint(x: 7.486, y: 9.518))
        p.addCurve(to: CGPoint(x: 5.718, y: 7.331), control1: CGPoint(x: 6.482, y: 8.514), control2: CGPoint(x: 6.06, y: 7.953))
        p.addCurve(to: CGPoint(x: 4.989, y: 5.439), control1: CGPoint(x: 5.389, y: 6.734), control2: CGPoint(x: 5.146, y: 6.103))
        p.addCurve(to: CGPoint(x: 4.829, y: 2.904), control1: CGPoint(x: 4.789, y: 4.593), control2: CGPoint(x: 4.735, y: 3.748))
        p.addCurve(to: CGPoint(x: 3.477, y: 4.057), control1: CGPoint(x: 4.326, y: 3.216), control2: CGPoint(x: 3.875, y: 3.6))
        p.addCurve(to: CGPoint(x: 2.114, y: 6.836), control1: CGPoint(x: 2.776, y: 4.862), control2: CGPoint(x: 2.321, y: 5.788))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// MoonIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val MoonIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "moon", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(MoonIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_moon.xml · Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M5.929 1.744C6 1.862 6.019 1.988 5.985 2.122C5.726 3.149 5.718 4.178 5.962 5.209C6.098 5.784 6.309 6.331 6.594 6.849C6.89 7.387 7.256 7.874 7.691 8.309C8.126 8.744 8.613 9.11 9.151 9.406C9.669 9.691 10.216 9.902 10.791 10.038C11.822 10.282 12.851 10.274 13.878 10.015C13.985 9.988 14.09 9.996 14.192 10.038C14.322 10.093 14.413 10.183 14.465 10.308C14.517 10.434 14.516 10.562 14.462 10.692C14.042 11.699 13.422 12.56 12.6 13.277C12.146 13.672 11.65 14.003 11.112 14.27C10.554 14.547 9.969 14.746 9.358 14.867C8.747 14.988 8.131 15.026 7.51 14.983C6.91 14.941 6.325 14.823 5.756 14.63C4.723 14.281 3.821 13.721 3.05 12.95C2.279 12.179 1.719 11.277 1.37 10.244C1.177 9.675 1.059 9.09 1.017 8.49C0.974 7.869 1.012 7.253 1.133 6.642C1.254 6.031 1.453 5.446 1.73 4.888C1.997 4.35 2.328 3.854 2.723 3.4C3.44 2.578 4.301 1.958 5.308 1.538C5.41 1.496 5.515 1.488 5.622 1.515C5.756 1.549 5.859 1.625 5.929 1.744ZM2.114 6.836C1.907 7.883 1.974 8.912 2.317 9.924C2.616 10.809 3.097 11.582 3.757 12.243C4.418 12.903 5.191 13.384 6.076 13.683C7.088 14.026 8.117 14.093 9.164 13.886C10.212 13.679 11.138 13.224 11.943 12.523C12.4 12.125 12.784 11.674 13.096 11.171C12.252 11.265 11.407 11.211 10.561 11.011C9.897 10.854 9.266 10.611 8.669 10.282C8.047 9.94 7.486 9.518 6.984 9.016C6.482 8.514 6.06 7.953 5.718 7.331C5.389 6.734 5.146 6.103 4.989 5.439C4.789 4.593 4.735 3.748 4.829 2.904C4.326 3.216 3.875 3.6 3.477 4.057C2.776 4.862 2.321 5.788 2.114 6.836Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "moon" (line-round), MIT. https://gentleface.com/icons/moon
import 'package:flutter/widgets.dart';

class MoonIcon extends StatelessWidget {
  const MoonIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _MoonIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _MoonIconPainter extends CustomPainter {
  _MoonIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(5.929, 1.744)
      ..cubicTo(6, 1.862, 6.019, 1.988, 5.985, 2.122)
      ..cubicTo(5.726, 3.149, 5.718, 4.178, 5.962, 5.209)
      ..cubicTo(6.098, 5.784, 6.309, 6.331, 6.594, 6.849)
      ..cubicTo(6.89, 7.387, 7.256, 7.874, 7.691, 8.309)
      ..cubicTo(8.126, 8.744, 8.613, 9.11, 9.151, 9.406)
      ..cubicTo(9.669, 9.691, 10.216, 9.902, 10.791, 10.038)
      ..cubicTo(11.822, 10.282, 12.851, 10.274, 13.878, 10.015)
      ..cubicTo(13.985, 9.988, 14.09, 9.996, 14.192, 10.038)
      ..cubicTo(14.322, 10.093, 14.413, 10.183, 14.465, 10.308)
      ..cubicTo(14.517, 10.434, 14.516, 10.562, 14.462, 10.692)
      ..cubicTo(14.042, 11.699, 13.422, 12.56, 12.6, 13.277)
      ..cubicTo(12.146, 13.672, 11.65, 14.003, 11.112, 14.27)
      ..cubicTo(10.554, 14.547, 9.969, 14.746, 9.358, 14.867)
      ..cubicTo(8.747, 14.988, 8.131, 15.026, 7.51, 14.983)
      ..cubicTo(6.91, 14.941, 6.325, 14.823, 5.756, 14.63)
      ..cubicTo(4.723, 14.281, 3.821, 13.721, 3.05, 12.95)
      ..cubicTo(2.279, 12.179, 1.719, 11.277, 1.37, 10.244)
      ..cubicTo(1.177, 9.675, 1.059, 9.09, 1.017, 8.49)
      ..cubicTo(0.974, 7.869, 1.012, 7.253, 1.133, 6.642)
      ..cubicTo(1.254, 6.031, 1.453, 5.446, 1.73, 4.888)
      ..cubicTo(1.997, 4.35, 2.328, 3.854, 2.723, 3.4)
      ..cubicTo(3.44, 2.578, 4.301, 1.958, 5.308, 1.538)
      ..cubicTo(5.41, 1.496, 5.515, 1.488, 5.622, 1.515)
      ..cubicTo(5.756, 1.549, 5.859, 1.625, 5.929, 1.744)
      ..close()
      ..moveTo(2.114, 6.836)
      ..cubicTo(1.907, 7.883, 1.974, 8.912, 2.317, 9.924)
      ..cubicTo(2.616, 10.809, 3.097, 11.582, 3.757, 12.243)
      ..cubicTo(4.418, 12.903, 5.191, 13.384, 6.076, 13.683)
      ..cubicTo(7.088, 14.026, 8.117, 14.093, 9.164, 13.886)
      ..cubicTo(10.212, 13.679, 11.138, 13.224, 11.943, 12.523)
      ..cubicTo(12.4, 12.125, 12.784, 11.674, 13.096, 11.171)
      ..cubicTo(12.252, 11.265, 11.407, 11.211, 10.561, 11.011)
      ..cubicTo(9.897, 10.854, 9.266, 10.611, 8.669, 10.282)
      ..cubicTo(8.047, 9.94, 7.486, 9.518, 6.984, 9.016)
      ..cubicTo(6.482, 8.514, 6.06, 7.953, 5.718, 7.331)
      ..cubicTo(5.389, 6.734, 5.146, 6.103, 4.989, 5.439)
      ..cubicTo(4.789, 4.593, 4.735, 3.748, 4.829, 2.904)
      ..cubicTo(4.326, 3.216, 3.875, 3.6, 3.477, 4.057)
      ..cubicTo(2.776, 4.862, 2.321, 5.788, 2.114, 6.836)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_MoonIconPainter old) => old.color != color;
}
```
