Icône Key
majesticons:key
L'icône Key (majesticons:key) est une icône SVG gratuite de la collection Majesticons par Gerrit Halfmann. Elle est dessinée sur une grille de 24 × 24. Les Majesticons 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
- Majesticons
- Auteur
- Gerrit Halfmann
- 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="currentColor" fill-rule="evenodd" d="M8 9a7 7 0 1 1 5.562 6.852L12 17.414a2 2 0 0 1-1.414.586H10a2 2 0 0 1-2 2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-2.586A2 2 0 0 1 2.586 16l5.562-5.562A7 7 0 0 1 8 9m7-3a1 1 0 1 0 0 2a1 1 0 0 1 1 1a1 1 0 1 0 2 0a3 3 0 0 0-3-3" clip-rule="evenodd"/></svg>Comment utiliser l'icône Key
React
import { Icon } from "@iconify/react";
<Icon icon="majesticons:key" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="majesticons:key" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="majesticons:key" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--key]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:key"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="majesticons:key"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/majesticons/key.svg" alt="Icône Key" width="24" height="24">Icônes similaires dans Majesticons
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 Majesticons 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="majesticons: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/majesticons/key.svg" alt="Icône Key">, ou collez le code SVG directement dans la page pour le styliser en CSS.