Moon icon
The moon icon is a free weather icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.
Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.
About the moon icon
Use it to stand for night, dark mode and sleep. The regular weight is a single path made of 2 shapes, and the duotone weight adds a 20% tint behind the outline. It comes with 5 variants for states and actions: moon flag, moon fog, moon slash, moon stars and moon z.
Pairs well with the moonset, air quality and celsius icons, which share the “night” theme. Use the same weight for all of them so they read as one set.
When to use the moon icon
It belongs to the weather set, made for forecasts, conditions and climate apps. Pair it with the related icons below so a screen stays in one visual style.
Use the moon icon in your code
React
import { Moon } from '@icon-monks/react';
<Moon size={24} />Vue
<script setup>
import { Moon } from '@icon-monks/vue';
</script>
<Moon :size="24" />Web component
<icon-monks name="moon" size="24"></icon-monks>Icon font
<i class="im im-moon"></i>Flutter
Icon(IconMonks.moon)SwiftUI
Image(iconMonks: .moon)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Moon
Icon(IconMonks.Regular.Moon, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related weather icons
moon-stars
cloud-moon
cloud-moon-hail
cloud-moon-lightning
cloud-moon-rain
cloud-moon-snow
moon-fog
sun-moon
moonset
air-quality
celsius
cloud
cloud-drizzle
cloud-fog
cloud-hail
cloud-haze
cloud-info
cloud-lightning
Similar icons in other categories
moon-slash
camera-moon
moon-z
calendar-moon
lantern-crescent
star-and-crescent
lamp-slash
airplane-slash
app-window-swap
blend-mode
macro
user-focus
Questions about the moon icon
Is the moon icon free for commercial use?
Yes. The moon icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.
How do I change the color and size of the moon icon?
The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.
Are there variants of the moon icon?
Yes. The moon icon has 5 variants, including moon flag, moon fog, moon slash and moon stars. Each one keeps the same base shape and comes in all six weights.
Last updated with version 0.4.3. Release notes