ICONYZ
Français
Icône Key de Feather Icons

Icône Key

feather:key

L'icône Key (feather:key) est une icône SVG gratuite de la collection Feather Icons par Cole Bemis. Elle est dessinée sur une grille de 24 × 24. Les Feather Icons 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
Feather Icons
Auteur
Cole Bemis
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="2" d="m21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778a5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"/></svg>

Comment utiliser l'icône Key

React

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

<Icon icon="feather:key" width="24" />

Vue

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

<template>
  <Icon icon="feather:key" width="24" />
</template>

Svelte

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

<Icon icon="feather:key" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="feather:key"></iconify-icon>

Image HTML

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

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 Feather Icons 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="feather: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/feather/key.svg" alt="Icône Key">, ou collez le code SVG directement dans la page pour le styliser en CSS.

Voir toutes les Feather Icons →