ICONYZ
English
Hospital icon from Medical Icons

Hospital icon

medical-icon:hospital

The Hospital icon (medical-icon:hospital) is a free SVG icon from the Medical Icons set by Samuel Frémondière. It is drawn on a 64 × 64 grid. Medical 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
Medical Icons
Author
Samuel Frémondière
License
MIT
Size
64 × 64
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><path fill="currentColor" d="M56.609 1.114s-48.788-.015-48.774 0C3.338 1.114.81 3.439.81 8.188v48.966c0 4.443 2.273 6.769 6.766 6.769h49.173c4.493 0 6.769-2.21 6.769-6.769V8.188c.001-4.634-2.275-7.074-6.909-7.074m-8.343 52.518h-8.302v-17.82H24.469v17.82h-8.301V13.896h8.301v15.053h15.495V13.896h8.302z"/></svg>

How to use the Hospital icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="medical-icon:hospital"></iconify-icon>

HTML image

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

Browse all Medical Icons →