Hotel 02 icon
hugeicons:hotel-02
The Hotel 02 icon (hugeicons:hotel-02) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M3 7v11c0 1.886 0 2.828.586 3.414S5.114 22 7 22h10c1.886 0 2.828 0 3.414-.586S21 19.886 21 18V7m-4 0A5 5 0 0 0 7 7"/><path d="M14 22v-4a2 2 0 1 0-4 0v4M9 3H4.472c-.31 0-.625.082-.874.329C2.856 4.064 2.428 5.288 2 7h5m8-4h4.528c.31 0 .625.082.874.329c.742.735 1.17 1.959 1.598 3.671h-5M6 11h.5M6 14.5h.5m11-3.5h.5m-.5 3.5h.5M10.5 8v1.5m0 1.5V9.5m3-1.5v1.5m0 1.5V9.5m-3 0h3"/></g></svg>How to use the Hotel 02 icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:hotel-02" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:hotel-02" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:hotel-02" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--hotel-02]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:hotel-02"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:hotel-02"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/hotel-02.svg" alt="Hotel 02 icon" width="24" height="24">Related icons in Huge Icons
Hotel 02 icon FAQ
Is the Hotel 02 icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hotel 02 icon in React?
Install @iconify/react and render <Icon icon="hugeicons:hotel-02" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hotel 02 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/hotel-02.svg" alt="Hotel 02 icon">, or paste the SVG code inline to style it with CSS.