Sun icon
system-uicons:sun
The Sun icon (system-uicons:sun) is a free SVG icon from the System UIcons set by Corey Ginnivan. It is drawn on a 21 × 21 grid. System UIcons are released under the Unlicense, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- System UIcons
- Author
- Corey Ginnivan
- License
- Unlicense
- Size
- 21 × 21
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M10.5 14.5c2.219 0 4-1.763 4-3.982a4.003 4.003 0 0 0-4-4.018c-2.219 0-4 1.781-4 4s1.781 4 4 4M4.136 4.136L5.55 5.55m9.9 9.9l1.414 1.414M1.5 10.5h2m14 0h2M4.135 16.863L5.55 15.45m9.899-9.9l1.414-1.415M10.5 19.5v-2m0-14v-2" opacity=".3"/><g transform="translate(-210 -1)"><path d="M220.5 2.5v2m6.5.5l-1.5 1.5"/><circle cx="220.5" cy="11.5" r="4"/><path d="m214 5l1.5 1.5m5 14v-2m6.5-.5l-1.5-1.5M214 18l1.5-1.5m-4-5h2m14 0h2"/></g></g></svg>How to use the Sun icon
React
import { Icon } from "@iconify/react";
<Icon icon="system-uicons:sun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="system-uicons:sun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="system-uicons:sun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[system-uicons--sun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/system-uicons -->
<div class="i-system-uicons:sun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="system-uicons:sun"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/system-uicons/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. System UIcons are released under the Unlicense, which allows use in personal and commercial projects.
How do I use the Sun icon in React?
Install @iconify/react and render <Icon icon="system-uicons: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/system-uicons/sun.svg" alt="Sun icon">, or paste the SVG code inline to style it with CSS.