Icône Key
heroicons:key
L'icône Key (heroicons:key) 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
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="M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25"/></svg>Comment utiliser l'icône Key
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:key"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/heroicons/key.svg" alt="Icône Key" width="24" height="24">Icônes similaires dans HeroIcons
L'icône Key dans d'autres collections
FAQ : Icône Key
L'icône Key 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 Key dans React ?
Installez @iconify/react et affichez <Icon icon="heroicons:key" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Key à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/heroicons/key.svg" alt="Icône Key">, ou collez le code SVG directement dans la page pour le styliser en CSS.