Hotel icon
glyphs-poly:hotel
The Hotel icon (glyphs-poly:hotel) is a free SVG icon from the Glyphs Poly set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs Poly icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Glyphs Poly
- Author
- Goran Spasojevic
- License
- MIT
- Size
- 80 × 80
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none"><path fill="#2f80ed" stroke="#2f80ed" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M34.159 63.905h33.46a.38.38 0 0 0 .381-.381v-1.905c0-8.836-7.163-16-16-16H35.302c-.842 0-1.524.682-1.524 1.524v16.38c0 .211.17.382.38.382"/><path stroke="#4f4f4f" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M12 38v32m56-6.095H12m56 0V70"/><path fill="#f2c94c" stroke="#f2c94c" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M20.43 50.167a5.39 5.39 0 0 1 5.306 0l.083.047a5.225 5.225 0 0 1 0 9.096l-.083.047c-1.646.93-3.66.93-5.305 0l-.084-.047a5.225 5.225 0 0 1 0-9.096z"/><path fill="#f2c94c" d="M19.116 11.676a1 1 0 0 1 1.768 0l1.637 3.103a1 1 0 0 0 .714.519l3.457.598a1 1 0 0 1 .546 1.682l-2.444 2.516a1 1 0 0 0-.273.839l.5 3.472a1 1 0 0 1-1.432 1.04l-3.148-1.548a1 1 0 0 0-.882 0l-3.148 1.548a1 1 0 0 1-1.431-1.04l.5-3.472a1 1 0 0 0-.274-.84l-2.444-2.515a1 1 0 0 1 .546-1.682l3.457-.598a1 1 0 0 0 .714-.52zm20 0a1 1 0 0 1 1.768 0l1.637 3.103a1 1 0 0 0 .714.519l3.457.598a1 1 0 0 1 .547 1.682l-2.445 2.516a1 1 0 0 0-.273.839l.5 3.472a1 1 0 0 1-1.432 1.04l-3.148-1.548a1 1 0 0 0-.882 0l-3.148 1.548a1 1 0 0 1-1.431-1.04l.5-3.472a1 1 0 0 0-.274-.84l-2.445-2.515a1 1 0 0 1 .547-1.682l3.457-.598a1 1 0 0 0 .714-.52zm20 0a1 1 0 0 1 1.768 0l1.637 3.103a1 1 0 0 0 .714.519l3.457.598a1 1 0 0 1 .547 1.682l-2.445 2.516a1 1 0 0 0-.273.839l.5 3.472a1 1 0 0 1-1.432 1.04l-3.148-1.548a1 1 0 0 0-.882 0l-3.148 1.548a1 1 0 0 1-1.431-1.04l.5-3.472a1 1 0 0 0-.274-.84l-2.445-2.515a1 1 0 0 1 .547-1.682l3.457-.598a1 1 0 0 0 .714-.52z"/></g></svg>How to use the Hotel icon
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs-poly:hotel" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs-poly:hotel" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs-poly:hotel" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs-poly--hotel]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs-poly -->
<div class="i-glyphs-poly:hotel"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs-poly:hotel"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/glyphs-poly/hotel.svg" alt="Hotel icon" width="24" height="24">Related icons in Glyphs Poly
Hotel icon in other icon sets
Hotel icon FAQ
Is the Hotel icon free for commercial use?
Yes. Glyphs Poly icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hotel icon in React?
Install @iconify/react and render <Icon icon="glyphs-poly:hotel" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hotel icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/glyphs-poly/hotel.svg" alt="Hotel icon">, or paste the SVG code inline to style it with CSS.