Icône Heart Square
bx:heart-square
L'icône Heart Square (bx:heart-square) est une icône SVG gratuite de la collection BoxIcons v2 par Boxicons. Elle est dessinée sur une grille de 24 × 24. Les BoxIcons v2 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
- BoxIcons v2
- Auteur
- Boxicons
- Licence
- MIT
- Taille
- 24 × 24
- Mots-clés
- heartsquare, bx heart square
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m11.998 17l4.186-4.186a2.745 2.745 0 0 0 0-3.907a2.746 2.746 0 0 0-3.907 0l-.278.279l-.279-.279a2.746 2.746 0 0 0-3.907 0a2.746 2.746 0 0 0 0 3.907z"/><path fill="currentColor" d="M21 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1zm-2 15H5V5h14z"/></svg>Comment utiliser l'icône Heart Square
React
import { Icon } from "@iconify/react";
<Icon icon="bx:heart-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:heart-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:heart-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--heart-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:heart-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:heart-square"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/bx/heart-square.svg" alt="Icône Heart Square" width="24" height="24">Icônes similaires dans BoxIcons v2
L'icône Heart Square dans d'autres collections
FAQ : Icône Heart Square
L'icône Heart Square est-elle gratuite pour un usage commercial ?
Oui. Les BoxIcons v2 icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Heart Square dans React ?
Installez @iconify/react et affichez <Icon icon="bx:heart-square" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Heart Square à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/bx/heart-square.svg" alt="Icône Heart Square">, ou collez le code SVG directement dans la page pour le styliser en CSS.