Icône Hotel 20
energy-icons:hotel-20
L'icône Hotel 20 (energy-icons:hotel-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="M16.668 2a.5.5 0 0 1 .5.5v15h-1V3H3.834v14.5h-1v-15a.5.5 0 0 1 .5-.5z"/><path fill="currentColor" d="M18.334 17a.5.5 0 0 1 0 1H1.668a.5.5 0 0 1 0-1zm-11.75-6.167v-5a.5.5 0 0 1 1 0v5a.5.5 0 0 1-1 0m5.834 0v-5a.5.5 0 1 1 1 0v5a.5.5 0 0 1-1 0"/><path fill="currentColor" d="M12.918 7.833v1H7.084v-1zm-1.25 5.417a.5.5 0 0 1 .5.5v3.75h-1v-3.25H8.834v3.25h-1v-3.75a.5.5 0 0 1 .5-.5z"/></svg>Comment utiliser l'icône Hotel 20
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:hotel-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:hotel-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:hotel-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--hotel-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:hotel-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:hotel-20"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/energy-icons/hotel-20.svg" alt="Icône Hotel 20" width="24" height="24">Icônes similaires dans Energy Icons
FAQ : Icône Hotel 20
L'icône Hotel 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 Hotel 20 dans React ?
Installez @iconify/react et affichez <Icon icon="energy-icons:hotel-20" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Hotel 20 à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/energy-icons/hotel-20.svg" alt="Icône Hotel 20">, ou collez le code SVG directement dans la page pour le styliser en CSS.