ICONYZ
English
Hospital icon from Fluent Emoji Flat

Hospital icon

fluent-emoji-flat:hospital

The Hospital icon (fluent-emoji-flat:hospital) is a free SVG icon from the Fluent Emoji Flat set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji Flat 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 Emoji Flat
Author
Microsoft Corporation
License
MIT
Size
32 × 32
Category
Travel & Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none"><path fill="#998ea4" d="M5 5a2 2 0 0 1 2-2h15a2 2 0 0 1 2 2v18L9 30H5z"/><path fill="#d4c1ee" d="M9 21a2 2 0 0 1 2-2h15a2 2 0 0 1 2 2v9h-2l-3-1l-3 1h-2.5l-1.25-1L15 30h-1.5l-1.25-1L11 30H9z"/><path fill="#f3eef8" d="M8 3a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1zm3 18.75a.75.75 0 0 1 .75-.75h13.5a.75.75 0 0 1 0 1.5h-13.5a.75.75 0 0 1-.75-.75m.75 1.75a.75.75 0 0 0 0 1.5h13.5a.75.75 0 0 0 0-1.5z"/><path fill="#bb1d80" d="M11.5 28h2v2H11v-1.5a.5.5 0 0 1 .5-.5m3.5 0h2a.5.5 0 0 1 .5.5V30H15zm5 .5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5V30h-6z"/><path fill="#f8312f" fill-rule="evenodd" d="M12.5 4a.5.5 0 0 0-.5.5V6h-1.5a.5.5 0 0 0 0 1H12v1.5a.5.5 0 0 0 1 0V7h1.5a.5.5 0 0 0 0-1H13V4.5a.5.5 0 0 0-.5-.5m-1.5.5a1.5 1.5 0 0 1 3 0V5h.5a1.5 1.5 0 0 1 0 3H14v.5a1.5 1.5 0 0 1-3 0V8h-.5a1.5 1.5 0 1 1 0-3h.5z" clip-rule="evenodd"/></g></svg>

How to use the Hospital icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fluent-emoji-flat:hospital"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/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 Emoji Flat 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-emoji-flat: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-emoji-flat/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent Emoji Flat icons →