Sun icon
fontisto:sun
The Sun icon (fontisto:sun) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 24 × 24 grid. Fontisto 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
- Fontisto
- Author
- Kenan Gündoğan
- License
- MIT
- Size
- 24 × 24
- Category
- Travel
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m24 14.358l-3.04-2.965l2.608-3.348l-4.114-1.051l.584-4.204l-4.088 1.142L14.35 0l-2.965 3.04L8.037.432L6.986 4.546l-4.204-.584l1.142 4.087l-3.932 1.596l3.04 2.966l-2.608 3.348l4.114 1.051l-.59 4.204l4.087-1.142l1.6 3.932l2.965-3.04l3.348 2.608l1.051-4.114l4.205.59l-1.142-4.087zm-9.719 4.302a7.04 7.04 0 1 1 4.378-8.99l.015.049c.24.679.378 1.461.378 2.276a7.04 7.04 0 0 1-4.722 6.649l-.049.015z"/></svg>How to use the Sun icon
React
import { Icon } from "@iconify/react";
<Icon icon="fontisto:sun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fontisto:sun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fontisto:sun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fontisto--sun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fontisto -->
<div class="i-fontisto:sun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fontisto:sun"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fontisto/sun.svg" alt="Sun icon" width="24" height="24">Related icons in Fontisto
Sun icon in other icon sets
Sun icon FAQ
Is the Sun icon free for commercial use?
Yes. Fontisto 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="fontisto: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/fontisto/sun.svg" alt="Sun icon">, or paste the SVG code inline to style it with CSS.