Icône Sun
feather:sun
L'icône Sun (feather:sun) est une icône SVG gratuite de la collection Feather Icons par Cole Bemis. Elle est dessinée sur une grille de 24 × 24. Les Feather Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux. Copiez-la en code SVG, JSX, Vue ou Svelte, ou téléchargez le fichier SVG.
- Collection
- Feather Icons
- Auteur
- Cole Bemis
- Licence
- MIT
- Taille
- 24 × 24
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="12" cy="12" r="5"/><path d="M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72l1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"/></g></svg>Comment utiliser l'icône Sun
React
import { Icon } from "@iconify/react";
<Icon icon="feather:sun" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="feather:sun" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="feather:sun" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[feather--sun]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/feather -->
<div class="i-feather:sun"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="feather:sun"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/feather/sun.svg" alt="Icône Sun" width="24" height="24">Icônes similaires dans Feather Icons
L'icône Sun dans d'autres collections
FAQ : Icône Sun
L'icône Sun est-elle gratuite pour un usage commercial ?
Oui. Les Feather Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Sun dans React ?
Installez @iconify/react et affichez <Icon icon="feather:sun" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Sun à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/feather/sun.svg" alt="Icône Sun">, ou collez le code SVG directement dans la page pour le styliser en CSS.