ICONYZ
English
Sun icon from Nimbus

Sun icon

nimbus:sun

The Sun icon (nimbus:sun) is a free SVG icon from the Nimbus set by Linkedstore S.A.. It is drawn on a 24 × 24 grid. Nimbus icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Nimbus
Author
Linkedstore S.A.
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8 3.33A4.85 4.85 0 0 0 3 8a4.85 4.85 0 0 0 5 4.67A4.85 4.85 0 0 0 13 8a4.85 4.85 0 0 0-5-4.67m0 8.09A3.6 3.6 0 0 1 4.25 8A3.6 3.6 0 0 1 8 4.58A3.6 3.6 0 0 1 11.75 8A3.6 3.6 0 0 1 8 11.42M7.33 0h1.25v2H7.33zm0 14h1.25v2H7.33zM14 7.33h2v1.25h-2zm-14 0h2v1.25H0zM11.92 2.4h2v1.25h-2zm-9.9 9.9h2v1.25h-2zm10.33-.38h1.25v2h-1.25zm-9.9-9.9H3.7v2H2.45z"/></svg>

How to use the Sun icon

React

import { Icon } from "@iconify/react";

<Icon icon="nimbus:sun" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="nimbus:sun" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="nimbus:sun" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[nimbus--sun]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/nimbus -->
<div class="i-nimbus:sun"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="nimbus:sun"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/nimbus/sun.svg" alt="Sun icon" width="24" height="24">

Sun icon in other icon sets

Sun icon FAQ

Is the Sun icon free for commercial use?

Yes. Nimbus icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Sun icon in React?

Install @iconify/react and render <Icon icon="nimbus:sun" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Sun icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/nimbus/sun.svg" alt="Sun icon">, or paste the SVG code inline to style it with CSS.

Browse all Nimbus icons →