Sun icon
pepicons-print:sun
The Sun icon (pepicons-print:sun) is a free SVG icon from the Pepicons Print set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Print icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Pepicons Print
- Author
- CyCraft
- License
- CC-BY-4.0
- Size
- 20 × 20
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><path d="M14 10.5a3.5 3.5 0 1 1-7 0a3.5 3.5 0 0 1 7 0m-13 0a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2H2a1 1 0 0 1-1-1m15 0a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1m-1.5 4a1 1 0 0 1 1.414 0l1.414 1.414a1 1 0 1 1-1.414 1.414L14.5 15.914a1 1 0 0 1 0-1.414m-11-11a1 1 0 0 1 1.414 0l1.414 1.414a1 1 0 1 1-1.414 1.414L3.5 4.914a1 1 0 0 1 0-1.414m7 12.5a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1m0-15a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V2a1 1 0 0 1 1-1m6.828 2.5a1 1 0 0 1 0 1.414l-1.414 1.414A1 1 0 1 1 14.5 4.914L15.914 3.5a1 1 0 0 1 1.414 0m-11 11a1 1 0 0 1 0 1.414l-1.414 1.414A1 1 0 1 1 3.5 15.914L4.914 14.5a1 1 0 0 1 1.414 0" opacity=".2"/><path fill-rule="evenodd" d="M10 13.5a3.5 3.5 0 1 0 0-7a3.5 3.5 0 0 0 0 7m0-6a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5" clip-rule="evenodd"/><rect width="1" height="3" x="1" y="10.5" rx=".5" transform="rotate(-90 1 10.5)"/><rect width="1" height="3" x="16" y="10.5" rx=".5" transform="rotate(-90 16 10.5)"/><rect width="1" height="3" x="14" y="14.707" rx=".5" transform="rotate(-45 14 14.707)"/><rect width="1" height="3" x="3" y="3.707" rx=".5" transform="rotate(-45 3 3.707)"/><rect width="1" height="3" x="9.5" y="16" rx=".5"/><rect width="1" height="3" x="9.5" y="1" rx=".5"/><rect width="1" height="3" x="16.121" y="3" rx=".5" transform="rotate(45 16.121 3)"/><rect width="1" height="3" x="5.121" y="14" rx=".5" transform="rotate(45 5.121 14)"/></g></svg>How to use the Sun icon
React
import { Icon } from "@iconify/react";
<Icon icon="pepicons-print:sun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pepicons-print:sun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pepicons-print:sun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pepicons-print--sun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pepicons-print -->
<div class="i-pepicons-print:sun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pepicons-print:sun"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pepicons-print/sun.svg" alt="Sun icon" width="24" height="24">Related icons in Pepicons Print
Sun icon in other icon sets
Sun icon FAQ
Is the Sun icon free for commercial use?
Yes. Pepicons Print icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Sun icon in React?
Install @iconify/react and render <Icon icon="pepicons-print: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/pepicons-print/sun.svg" alt="Sun icon">, or paste the SVG code inline to style it with CSS.