ICONYZ
English
Hospital icon from Fluent UI MDL2

Hospital icon

fluent-mdl2:hospital

The Hospital icon (fluent-mdl2:hospital) 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="M896 768v256H640v256h256v256h256v-256h256v-256h-256V768zm384 128h256v512h-256v256H768v-256H512V896h256V640h512zm576-512q40 0 75 15t61 41t41 61t15 75v1152q0 40-15 75t-41 61t-61 41t-75 15H192q-40 0-75-15t-61-41t-41-61t-15-75V576q0-40 15-75t41-61t61-41t75-15h320q0-37-1-82t9-83t37-65t83-26h768q37 0 61 12t38 32t20 46t9 55t1 57t-1 54zm-1216 0h768V256H640zm1280 192q0-26-19-45t-45-19H192q-26 0-45 19t-19 45v1152q0 26 19 45t45 19h1664q26 0 45-19t19-45z"/></svg>

How to use the Hospital icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-mdl2/hospital.svg" alt="Hospital icon" width="24" height="24">

Hospital icon in other icon sets

Hospital icon FAQ

Is the Hospital 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 Hospital icon in React?

Install @iconify/react and render <Icon icon="fluent-mdl2:hospital" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Hospital icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-mdl2/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent UI MDL2 icons →