ICONYZ
Français
Icône H2 de HeroIcons

Icône H2

heroicons:h2

L'icône H2 (heroicons:h2) est une icône SVG gratuite de la collection HeroIcons par Refactoring UI Inc. Elle est dessinée sur une grille de 24 × 24. Les HeroIcons 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
HeroIcons
Auteur
Refactoring UI Inc
Licence
MIT
Taille
24 × 24
Télécharger le SVG

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-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21.75 19.5H16.5v-1.609a2.25 2.25 0 0 1 1.244-2.012l2.89-1.445c.651-.326 1.116-.955 1.116-1.683q0-.748-.118-1.463c-.135-.825-.835-1.422-1.668-1.489a15.2 15.2 0 0 0-3.464.12M2.243 4.492v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501"/></svg>

Comment utiliser l'icône H2

React

import { Icon } from "@iconify/react";

<Icon icon="heroicons:h2" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="heroicons:h2" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="heroicons:h2" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--h2]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:h2"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="heroicons:h2"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/heroicons/h2.svg" alt="Icône H2" width="24" height="24">

Icônes similaires dans HeroIcons

L'icône H2 dans d'autres collections

FAQ : Icône H2

L'icône H2 est-elle gratuite pour un usage commercial ?

Oui. Les HeroIcons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.

Comment utiliser l'icône H2 dans React ?

Installez @iconify/react et affichez <Icon icon="heroicons:h2" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.

Comment ajouter l'icône H2 à une page web ?

Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/heroicons/h2.svg" alt="Icône H2">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les HeroIcons →