Icône Moon
grommet-icons:moon
L'icône Moon (grommet-icons:moon) est une icône SVG gratuite de la collection Grommet Icons par Grommet. Elle est dessinée sur une grille de 24 × 24. Les Grommet Icons sont publiées sous la licence Apache 2.0, 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
- Grommet Icons
- Auteur
- Grommet
- Licence
- Apache-2.0
- Taille
- 24 × 24
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M9.874 5.008c2.728-1.68 6.604-1.014 8.25.197c-2.955.84-5.11 3.267-5.242 6.415c-.18 4.28 3.006 6.588 5.24 7.152c-1.964 1.343-4.36 1.293-5.235 1.172c-3.568-.492-6.902-3.433-7.007-7.711c-.106-4.278 2.573-6.35 3.994-7.225z"/></svg>Comment utiliser l'icône Moon
React
import { Icon } from "@iconify/react";
<Icon icon="grommet-icons:moon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="grommet-icons:moon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="grommet-icons:moon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[grommet-icons--moon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/grommet-icons -->
<div class="i-grommet-icons:moon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="grommet-icons:moon"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/grommet-icons/moon.svg" alt="Icône Moon" width="24" height="24">L'icône Moon dans d'autres collections
FAQ : Icône Moon
L'icône Moon est-elle gratuite pour un usage commercial ?
Oui. Les Grommet Icons sont publiées sous la licence Apache 2.0, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Moon dans React ?
Installez @iconify/react et affichez <Icon icon="grommet-icons:moon" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Moon à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/grommet-icons/moon.svg" alt="Icône Moon">, ou collez le code SVG directement dans la page pour le styliser en CSS.