Hotel icon
glyphs:hotel
The Hotel icon (glyphs:hotel) is a free SVG icon from the Glyphs set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs 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
- 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"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M12 70V38m0 25.905h56m0 0V70m-33.841-6.095h33.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.382M20.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-.083-.047a5.225 5.225 0 0 1 0-9.096zm-1.314-38.491a1 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.499-3.472a1 1 0 0 0-.273-.84l-2.445-2.515a1 1 0 0 1 .547-1.682l3.457-.598a1 1 0 0 0 .713-.519zm20 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.499-3.472a1 1 0 0 0-.273-.84l-2.445-2.515a1 1 0 0 1 .547-1.682l3.457-.598a1 1 0 0 0 .713-.519zm20 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.499-3.472a1 1 0 0 0-.273-.84l-2.445-2.515a1 1 0 0 1 .547-1.682l3.457-.598a1 1 0 0 0 .713-.519z"/></svg>How to use the Hotel icon
React
import { Icon } from "@iconify/react";
<Icon icon="glyphs:hotel" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="glyphs:hotel" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="glyphs:hotel" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs--hotel]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/glyphs -->
<div class="i-glyphs:hotel"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="glyphs:hotel"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/glyphs/hotel.svg" alt="Hotel icon" width="24" height="24">Related icons in Glyphs
Hotel icon in other icon sets
Hotel icon FAQ
Is the Hotel icon free for commercial use?
Yes. Glyphs 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: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/hotel.svg" alt="Hotel icon">, or paste the SVG code inline to style it with CSS.