ICONYZ
Français
Icône Key Solid de HeroIcons

Icône Key Solid

heroicons:key-solid

L'icône Key Solid (heroicons:key-solid) 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
Mots-clés
keysolid
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="currentColor" fill-rule="evenodd" d="M15.75 1.5a6.75 6.75 0 0 0-6.651 7.906c.067.39-.032.717-.221.906l-6.5 6.499a3 3 0 0 0-.878 2.121v2.818c0 .414.336.75.75.75H6a.75.75 0 0 0 .75-.75v-1.5h1.5A.75.75 0 0 0 9 19.5V18h1.5a.75.75 0 0 0 .53-.22l2.658-2.658c.19-.189.517-.288.906-.22A6.75 6.75 0 1 0 15.75 1.5m0 3a.75.75 0 0 0 0 1.5A2.25 2.25 0 0 1 18 8.25a.75.75 0 0 0 1.5 0a3.75 3.75 0 0 0-3.75-3.75" clip-rule="evenodd"/></svg>

Comment utiliser l'icône Key Solid

React

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

<Icon icon="heroicons:key-solid" width="24" />

Vue

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

<template>
  <Icon icon="heroicons:key-solid" width="24" />
</template>

Svelte

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

<Icon icon="heroicons:key-solid" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="heroicons:key-solid"></iconify-icon>

Image HTML

<img src="https://iconyz.com/api/public/svg/heroicons/key-solid.svg" alt="Icône Key Solid" width="24" height="24">

Icônes similaires dans HeroIcons

L'icône Key Solid dans d'autres collections

FAQ : Icône Key Solid

L'icône Key Solid 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 Solid dans React ?

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

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

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

Voir toutes les HeroIcons →