Sun 16 icon
octicon:sun-16
The Sun 16 icon (octicon:sun-16) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8 12a4 4 0 1 1 0-8a4 4 0 0 1 0 8m0-1.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m5.657-8.157a.75.75 0 0 1 0 1.061l-1.061 1.06a.749.749 0 0 1-1.275-.326a.75.75 0 0 1 .215-.734l1.06-1.06a.75.75 0 0 1 1.06 0Zm-9.193 9.193a.75.75 0 0 1 0 1.06l-1.06 1.061a.75.75 0 1 1-1.061-1.06l1.06-1.061a.75.75 0 0 1 1.061 0M8 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V.75A.75.75 0 0 1 8 0M3 8a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 3 8m13 0a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 16 8m-8 5a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 8 13m3.536-1.464a.75.75 0 0 1 1.06 0l1.061 1.06a.75.75 0 0 1-1.06 1.061l-1.061-1.06a.75.75 0 0 1 0-1.061M2.343 2.343a.75.75 0 0 1 1.061 0l1.06 1.061a.75.75 0 0 1-.018 1.042a.75.75 0 0 1-1.042.018l-1.06-1.06a.75.75 0 0 1 0-1.06Z"/></svg>How to use the Sun 16 icon
React
import { Icon } from "@iconify/react";
<Icon icon="octicon:sun-16" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="octicon:sun-16" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="octicon:sun-16" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--sun-16]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:sun-16"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="octicon:sun-16"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/octicon/sun-16.svg" alt="Sun 16 icon" width="24" height="24">Related icons in Octicons
Sun 16 icon in other icon sets
Sun 16 icon FAQ
Is the Sun 16 icon free for commercial use?
Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Sun 16 icon in React?
Install @iconify/react and render <Icon icon="octicon:sun-16" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Sun 16 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/sun-16.svg" alt="Sun 16 icon">, or paste the SVG code inline to style it with CSS.