Icône X Octagon
bi:x-octagon
L'icône X Octagon (bi:x-octagon) 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
- Mots-clés
- xoctagon
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1z"/><path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8L4.646 5.354a.5.5 0 0 1 0-.708"/></g></svg>Comment utiliser l'icône X Octagon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:x-octagon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:x-octagon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:x-octagon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--x-octagon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:x-octagon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:x-octagon"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/bi/x-octagon.svg" alt="Icône X Octagon" width="24" height="24">Icônes similaires dans Bootstrap Icons
L'icône X Octagon dans d'autres collections
FAQ : Icône X Octagon
L'icône X Octagon 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 X Octagon dans React ?
Installez @iconify/react et affichez <Icon icon="bi:x-octagon" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône X Octagon à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/bi/x-octagon.svg" alt="Icône X Octagon">, ou collez le code SVG directement dans la page pour le styliser en CSS.