Hotel Class icon
material-symbols:hotel-class
The Hotel Class icon (material-symbols:hotel-class) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols icons are released under the Apache 2.0 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
- Material Symbols
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Tags
- achievement, bookmark, class, favorite, highlight, hotel, important, marked, rank, ranking, rate, rating, reward, save, saved, shape
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m16.7 14.5l3.8-3.25l3 .25l-4.4 3.825L20.4 21l-2.55-1.55zm-2.35-7.3L13.3 4.75L14.45 2l2.3 5.425zM4.325 21l1.625-7.025L.5 9.25l7.2-.625L10.5 2l2.8 6.625l7.2.625l-5.45 4.725L16.675 21L10.5 17.275z"/></svg>How to use the Hotel Class icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:hotel-class" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:hotel-class" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:hotel-class" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--hotel-class]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:hotel-class"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:hotel-class"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/hotel-class.svg" alt="Hotel Class icon" width="24" height="24">Related icons in Material Symbols
Hotel Class icon in other icon sets
Hotel Class icon FAQ
Is the Hotel Class icon free for commercial use?
Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Hotel Class icon in React?
Install @iconify/react and render <Icon icon="material-symbols:hotel-class" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hotel Class icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/hotel-class.svg" alt="Hotel Class icon">, or paste the SVG code inline to style it with CSS.