Icône Host
grommet-icons:host
L'icône Host (grommet-icons:host) 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-width="2" d="M17 4h1v1h-1zM3 1h18v22H3zm0 12h18zm0 5h18zM3 8h18z"/></svg>Comment utiliser l'icône Host
React
import { Icon } from "@iconify/react";
<Icon icon="grommet-icons:host" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="grommet-icons:host" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="grommet-icons:host" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[grommet-icons--host]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/grommet-icons -->
<div class="i-grommet-icons:host"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="grommet-icons:host"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/grommet-icons/host.svg" alt="Icône Host" width="24" height="24">Icônes similaires dans Grommet Icons
L'icône Host dans d'autres collections
FAQ : Icône Host
L'icône Host 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 Host dans React ?
Installez @iconify/react et affichez <Icon icon="grommet-icons:host" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Host à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/grommet-icons/host.svg" alt="Icône Host">, ou collez le code SVG directement dans la page pour le styliser en CSS.