Hospital Building icon
mdi:hospital-building
The Hospital Building icon (mdi:hospital-building) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design 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 Design Icons
- Author
- Pictogrammers
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Medical / Hospital, Places
- Tags
- places, medical, hospital, hospitalbuilding
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 22V7a1 1 0 0 1 1-1h4V2h10v4h4a1 1 0 0 1 1 1v15h-8v-5h-4v5zM9 4v6h2V8h2v2h2V4h-2v2h-2V4zM4 20h4v-3H4zm0-5h4v-3H4zm12 5h4v-3h-4zm0-5h4v-3h-4zm-6 0h4v-3h-4z"/></svg>How to use the Hospital Building icon
React
import { Icon } from "@iconify/react";
<Icon icon="mdi:hospital-building" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mdi:hospital-building" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mdi:hospital-building" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--hospital-building]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:hospital-building"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mdi:hospital-building"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mdi/hospital-building.svg" alt="Hospital Building icon" width="24" height="24">Related icons in Material Design Icons
Hospital Building icon in other icon sets
Hospital Building icon FAQ
Is the Hospital Building icon free for commercial use?
Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Hospital Building icon in React?
Install @iconify/react and render <Icon icon="mdi:hospital-building" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hospital Building icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/hospital-building.svg" alt="Hospital Building icon">, or paste the SVG code inline to style it with CSS.