1. Icon Monks
  2. Weather icons
  3. Sun Slash

Sun Slash icon

The sun slash 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.

Sun Slash icon, thin weight
Thin
SVG
Sun Slash icon, light weight
Light
SVG
Sun Slash icon, regular weight
Regular
SVG
Sun Slash icon, bold weight
Bold
SVG
Sun Slash icon, fill weight
Fill
SVG
Sun Slash icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the sun slash icon

It is the crossed-out version of the sun icon, for when it is off, blocked or unavailable, so it keeps the exact outline of the sun icon. Use it to stand for sun, off and disabled. The regular weight is a single path made of 9 shapes, and the duotone weight adds a 20% tint behind the outline.

Pairs well with the eclipse, thermometer hot and desert icons, which share the “sun” theme. Use the same weight for all of them so they read as one set.

When to use the sun slash 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 slash icon in your code

React

import { SunSlash } from '@icon-monks/react';

<SunSlash size={24} />

Vue

<script setup>
import { SunSlash } from '@icon-monks/vue';
</script>

<SunSlash :size="24" />

Web component

<icon-monks name="sun-slash" size="24"></icon-monks>

Icon font

<i class="im im-sun-slash"></i>

Flutter

Icon(IconMonks.sunSlash)

SwiftUI

Image(iconMonks: .sunSlash)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.SunSlash

Icon(IconMonks.Regular.SunSlash, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related weather icons

See all 79 weather icons

Similar icons in other categories

Questions about the sun slash icon

Is the sun slash icon free for commercial use?

Yes. The sun slash 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 slash 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 slash and sun icons?

The sun slash icon is the crossed-out version of the sun icon, for when it is off, blocked or unavailable. 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