Icône Unlock2
bi:unlock2
L'icône Unlock2 (bi:unlock2) est une icône SVG gratuite de la collection Bootstrap Icons par The Bootstrap Authors. Elle est dessinée sur une grille de 24 × 24. Les Bootstrap 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
- Bootstrap Icons
- Auteur
- The Bootstrap Authors
- 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 0c1.07 0 2.041.42 2.759 1.104l.14.14l.062.08a.5.5 0 0 1-.71.675l-.076-.066l-.216-.205A3 3 0 0 0 5 4v2h6.5A2.5 2.5 0 0 1 14 8.5v5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 13.5v-5a2.5 2.5 0 0 1 2-2.45V4a4 4 0 0 1 4-4M4.5 7A1.5 1.5 0 0 0 3 8.5v5A1.5 1.5 0 0 0 4.5 15h7a1.5 1.5 0 0 0 1.5-1.5v-5A1.5 1.5 0 0 0 11.5 7z"/></svg>Comment utiliser l'icône Unlock2
React
import { Icon } from "@iconify/react";
<Icon icon="bi:unlock2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:unlock2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:unlock2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--unlock2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:unlock2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:unlock2"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/bi/unlock2.svg" alt="Icône Unlock2" width="24" height="24">Icônes similaires dans Bootstrap Icons
FAQ : Icône Unlock2
L'icône Unlock2 est-elle gratuite pour un usage commercial ?
Oui. Les Bootstrap Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Unlock2 dans React ?
Installez @iconify/react et affichez <Icon icon="bi:unlock2" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Unlock2 à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/bi/unlock2.svg" alt="Icône Unlock2">, ou collez le code SVG directement dans la page pour le styliser en CSS.