Hotel icon
openmoji:hotel
The Hotel icon (openmoji:hotel) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Travel Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#d0cfce" d="M17 17h38v38H17zm38 3h11.5v35H55z"/><path fill="none" stroke="#92d3f5" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M60 25h2v5h-2zm0 10h2v5h-2zm0 10h2v5h-2z"/><path fill="#d0cfce" d="M5 20h12.5v35H5z"/><path fill="none" stroke="#92d3f5" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M10 25h2v5h-2zm0 10h2v5h-2zm0 10h2v5h-2zm21-23h2v5h-2zm8 0h2v5h-2zm8 0h2v5h-2zm-24 0h2v5h-2z"/><path fill="#9b9b9a" d="M23 41h26v14H23z"/><path fill="#fcea2b" d="M21.5 32h29v9h-29z"/><path fill="#92d3f5" d="M31.5 45h9v10h-9z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"><path stroke-width="2" d="M17 17h38v38H17zm38 3h11.5v35H55zM5 20h11.5v35H5z"/><path stroke-width="2" d="M23 41h26v14H23zm-1.5-9h29v9h-29zM27 55V41m18 14V41"/><path stroke-width="2" d="M31.5 45h9v10h-9zM36 55V45m13-18h-2v-5m-6 5h-2v-5m-6 5h-2v-5m-6 5h-2v-5m-11 8h-2v-5m2 15h-2v-5m52 5h-2v-5m2-5h-2v-5m2 25h-2v-5m-48 5h-2v-5"/><path d="M42.045 34.499h-2.26v3.955h2.26m-2.26-1.978h1.695m-15.821-1.977v3.955m2.26-3.955v3.955m0-1.985h-2.26m18.646-1.97v3.955H46m-14.312 0c-.78 0-1.412-.632-1.412-1.413v-1.13c0-.78.632-1.412 1.412-1.412h0c.78 0 1.413.632 1.413 1.412v1.13c0 .78-.633 1.413-1.413 1.413m3.673-3.938h2.26m-1.13 0v3.955"/></g></svg>How to use the Hotel icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:hotel" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:hotel" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:hotel" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--hotel]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:hotel"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:hotel"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/hotel.svg" alt="Hotel icon" width="24" height="24">Hotel icon in other icon sets
Hotel icon FAQ
Is the Hotel icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Hotel icon in React?
Install @iconify/react and render <Icon icon="openmoji: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/openmoji/hotel.svg" alt="Hotel icon">, or paste the SVG code inline to style it with CSS.