Sun icon
ps:sun
The Sun icon (ps:sun) is a free SVG icon from the PrestaShop Icons set by PrestaShop. It is drawn on a 512 × 512 grid. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- PrestaShop Icons
- Author
- PrestaShop
- License
- CC-BY-NC-4.0
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M256 107q-62 0-105.5 43.5T107 256t43.5 105.5T256 405t105.5-43.5T405 256t-43.5-105.5T256 107m0 256q-45 0-76-31t-31-76t31-76t76-31t76 31t31 76t-31 76t-76 31m21-299V21q0-21-21-21t-21 21v43q0 21 21 21t21-21M85 256q0-21-21-21H21q-21 0-21 21t21 21h43q21 0 21-21m406-21h-43q-21 0-21 21t21 21h43q21 0 21-21t-21-21M256 427q-21 0-21 21v43q0 21 21 21t21-21v-43q0-21-21-21m164-305l22-22q14-14 0-30q-16-14-30 0l-22 22q-14 14 0 30q8 6 15 6q9 0 15-6m-313 6q7 0 15-6q14-16 0-30l-22-22q-14-14-30 0q-14 16 0 30l22 22q6 6 15 6m313 262q-14-14-30 0q-14 16 0 30l22 22q6 6 15 6q7 0 15-6q14-16 0-30zm-328 0l-22 22q-14 14 0 30q8 6 15 6q9 0 15-6l22-22q14-14 0-30q-16-14-30 0"/></svg>How to use the Sun icon
React
import { Icon } from "@iconify/react";
<Icon icon="ps:sun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ps:sun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ps:sun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ps--sun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ps -->
<div class="i-ps:sun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ps:sun"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ps/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?
No. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author.
How do I use the Sun icon in React?
Install @iconify/react and render <Icon icon="ps: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/ps/sun.svg" alt="Sun icon">, or paste the SVG code inline to style it with CSS.