Icône Apartment 20
energy-icons:apartment-20
L'icône Apartment 20 (energy-icons:apartment-20) est une icône SVG gratuite de la collection Energy Icons par Sam Passmore. Elle est dessinée sur une grille de 20 × 20. Les Energy 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
- Energy Icons
- Auteur
- Sam Passmore
- Licence
- MIT
- Taille
- 20 × 20
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M15.333 3.75a.75.75 0 0 0-.75-.75H5.417a.75.75 0 0 0-.75.75v13.333c0 .415.335.75.75.75h9.166a.75.75 0 0 0 .75-.75zm1 13.333a1.75 1.75 0 0 1-1.75 1.75H5.417a1.75 1.75 0 0 1-1.75-1.75V3.75c0-.966.783-1.75 1.75-1.75h9.166c.967 0 1.75.784 1.75 1.75z"/><path fill="currentColor" d="M6.333 6.167h1.5V5.083h-1.5zm2.5.083a.917.917 0 0 1-.916.917H6.25a.917.917 0 0 1-.917-.917V5c0-.506.41-.917.917-.917h1.667c.508 0 .916.412.916.917zm3.334-.083h1.5V5.083h-1.5zm2.5.083c0 .506-.41.917-.917.917h-1.667a.917.917 0 0 1-.916-.917V5c0-.505.408-.917.916-.917h1.667c.506 0 .917.41.917.917zM6.333 9.917h1.5V8.833h-1.5zm2.5.083a.917.917 0 0 1-.916.917H6.25A.917.917 0 0 1 5.333 10V8.75c0-.506.41-.917.917-.917h1.667c.508 0 .916.412.916.917zm3.334-.083h1.5V8.833h-1.5zm2.5.083c0 .506-.41.917-.917.917h-1.667a.917.917 0 0 1-.916-.917V8.75c0-.505.408-.917.916-.917h1.667c.506 0 .917.41.917.917zm-8.334 3.667h1.5v-1.084h-1.5zm2.5.083a.917.917 0 0 1-.916.917H6.25a.917.917 0 0 1-.917-.917V12.5c0-.506.41-.917.917-.917h1.667c.508 0 .916.412.916.917zm3.334-.083h1.5v-1.084h-1.5zm2.5.083c0 .506-.41.917-.917.917h-1.667a.917.917 0 0 1-.916-.917V12.5c0-.505.408-.917.916-.917h1.667c.506 0 .917.41.917.917zm-3.417 1.583a.5.5 0 0 1 .5.5v2.5h-1v-2h-1.5v2h-1v-2.5a.5.5 0 0 1 .5-.5z"/></svg>Comment utiliser l'icône Apartment 20
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:apartment-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:apartment-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:apartment-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--apartment-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:apartment-20"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:apartment-20"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/energy-icons/apartment-20.svg" alt="Icône Apartment 20" width="24" height="24">Icônes similaires dans Energy Icons
FAQ : Icône Apartment 20
L'icône Apartment 20 est-elle gratuite pour un usage commercial ?
Oui. Les Energy Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Apartment 20 dans React ?
Installez @iconify/react et affichez <Icon icon="energy-icons:apartment-20" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Apartment 20 à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/energy-icons/apartment-20.svg" alt="Icône Apartment 20">, ou collez le code SVG directement dans la page pour le styliser en CSS.