Icône Rectangle
glyphs-poly:rectangle
L'icône Rectangle (glyphs-poly:rectangle) est une icône SVG gratuite de la collection Glyphs Poly par Goran Spasojevic. Elle est dessinée sur une grille de 80 × 80. Les Glyphs Poly 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
- Glyphs Poly
- Auteur
- Goran Spasojevic
- Licence
- MIT
- Taille
- 80 × 80
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><rect width="56" height="42" x="12" y="19" fill="#2f80ed" stroke="#2f80ed" rx="2"/><rect width="29.867" height="22.909" x="25.067" y="28.546" fill="#f2f2f2" stroke="#f2f2f2" rx="2"/></g></svg>Comment utiliser l'icône Rectangle
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs-poly:rectangle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs-poly:rectangle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs-poly:rectangle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs-poly--rectangle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs-poly -->
<div class="i-glyphs-poly:rectangle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs-poly:rectangle"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/glyphs-poly/rectangle.svg" alt="Icône Rectangle" width="24" height="24">L'icône Rectangle dans d'autres collections
FAQ : Icône Rectangle
L'icône Rectangle est-elle gratuite pour un usage commercial ?
Oui. Les Glyphs Poly icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Rectangle dans React ?
Installez @iconify/react et affichez <Icon icon="glyphs-poly:rectangle" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Rectangle à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/glyphs-poly/rectangle.svg" alt="Icône Rectangle">, ou collez le code SVG directement dans la page pour le styliser en CSS.