The Tabler sun off icon depicts a sun with a diagonal line through it, commonly used to represent a disabled or inactive light or weather state.
Common uses
- Disabling dark mode toggle
- Indicating no sunlight or clear weather
- Representing a 'lights off' status
Use it in React
Install
npm i @tabler/icons-reactImport & render
import { IconSunOff } from '@tabler/icons-react';
<IconSunOff size={24} stroke={2} />Details
- Library
- Tabler (5,093 icons)
- License
- MIT
- viewBox
0 0 24 24- Category
- Weather
- Keywords
- weatherlightmodebrightnesssunoffclimateforecastdisabledinactiveno sunlights outbrightness offclear weather
FAQ
- What does the sun off icon represent?
- It signifies the absence or deactivation of sunlight or light. It's often used for toggles like 'dark mode' or to show a weather forecast of no sun.
- How do I use the sun off icon in React?
- You can import it directly from the '@tabler/icons-react' library like this: import { IconSunOff } from '@tabler/icons-react'.
- What is the license for this icon?
- The Tabler icon library, including the sun off icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Tabler.
Looking for something else? Search Tabler and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →