Icône X
grommet-icons:x
L'icône X (grommet-icons:x) 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="currentColor" d="m.058 1l9.267 12.39L0 23.462h2.099l8.163-8.82l6.596 8.82H24l-9.788-13.087L22.892 1h-2.1l-7.517 8.122L7.2 1zm3.087 1.546h3.28l14.488 19.37h-3.28L3.145 2.547Z"/></svg>Comment utiliser l'icône X
React
import { Icon } from "@iconify/react";
<Icon icon="grommet-icons:x" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="grommet-icons:x" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="grommet-icons:x" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[grommet-icons--x]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/grommet-icons -->
<div class="i-grommet-icons:x"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="grommet-icons:x"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/grommet-icons/x.svg" alt="Icône X" width="24" height="24">Icônes similaires dans Grommet Icons
L'icône X dans d'autres collections
FAQ : Icône X
L'icône X 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 X dans React ?
Installez @iconify/react et affichez <Icon icon="grommet-icons:x" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône X à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/grommet-icons/x.svg" alt="Icône X">, ou collez le code SVG directement dans la page pour le styliser en CSS.