ICONYZ
English
Hotel icon from Fluent UI MDL2

Hotel icon

fluent-mdl2:hotel

The Hotel icon (fluent-mdl2:hotel) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
Fluent UI MDL2
Author
Microsoft Corporation
License
MIT
Size
2048 × 2048
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="M2048 1152v768h-128v-128H128v128H0v-768h128v113l256-512V128h128v128h1024V128h128v384q27 0 50 10t40 27t28 41t10 50v256q0 39-21 70l149 299v-113zm-896-512v256h512V640zM512 384v384h512V640q0-27 10-50t27-40t41-28t50-10h384V384zm-248 896h1520l-128-256h-504q-27 0-50-10t-40-27t-28-41t-10-50H455zm1656 384v-256H128v256z"/></svg>

How to use the Hotel icon

React

import { Icon } from "@iconify/react";

<Icon icon="fluent-mdl2:hotel" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fluent-mdl2:hotel" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fluent-mdl2:hotel" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-mdl2--hotel]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent-mdl2 -->
<div class="i-fluent-mdl2:hotel"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="fluent-mdl2:hotel"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-mdl2/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. Fluent UI MDL2 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="fluent-mdl2: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/fluent-mdl2/hotel.svg" alt="Hotel icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent UI MDL2 icons →