- Icon Monks
- Weather icons
- Sun Moon
Sun Moon icon
The sun 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 sun moon icon
It is a moon variant of the sun icon, so it keeps the exact outline of the sun icon. Use it to stand for day night, light dark and theme. The regular weight is a single path made of 12 shapes, and the duotone weight adds a 20% tint behind the outline.
Pairs well with the lamp slash, brightness auto and palette icons, which share the “theme” theme. Use the same weight for all of them so they read as one set.
When to use the sun 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 sun moon icon in your code
React
import { SunMoon } from '@icon-monks/react';
<SunMoon size={24} />Vue
<script setup>
import { SunMoon } from '@icon-monks/vue';
</script>
<SunMoon :size="24" />Web component
<icon-monks name="sun-moon" size="24"></icon-monks>Icon font
<i class="im im-sun-moon"></i>Flutter
Icon(IconMonks.sunMoon)SwiftUI
Image(iconMonks: .sunMoon)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.SunMoon
Icon(IconMonks.Regular.SunMoon, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related weather icons
cloud-moon
cloud-moon-hail
cloud-moon-lightning
cloud-moon-rain
cloud-moon-snow
cloud-sun
cloud-sun-hail
cloud-sun-lightning
cloud-sun-rain
cloud-sun-snow
moon
moon-fog
moon-stars
sun
sun-dim
sun-fog
sun-horizon
sun-slash
Similar icons in other categories
camera-moon
lamp-slash
brightness-auto
palette
moon-slash
moon-z
arrow-iteration
recharging
repeat
calendar-1
calendar-dot
calendar-star
Questions about the sun moon icon
Is the sun moon icon free for commercial use?
Yes. The sun 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 sun 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.
What is the difference between the sun moon and sun icons?
The sun moon icon is a moon variant of the sun icon. Both share the same outline and come in all six weights, so you can swap one for the other to show a change of state.
Last updated with version 0.4.3. Release notes