Hospital icon
healthicons:hospital
The Hospital icon (healthicons:hospital) is a free SVG icon from the Health Icons set by Resolve to Save Lives. It is drawn on a 48 × 48 grid. Health 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
- Health Icons
- Author
- Resolve to Save Lives
- License
- MIT
- Size
- 48 × 48
- Category
- Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="currentColor"><path d="M16 20h4v3h-4zm4 5h-4v3h4zm-4 5h4v3h-4zm10-10h-4v3h4zm-4 5h4v3h-4zm4 5h-4v3h4zm2-10h4v3h-4zm4 5h-4v3h4zm-4 5h4v3h-4z"/><path fill-rule="evenodd" d="M31 6a2 2 0 0 0-2-2H19a2 2 0 0 0-2 2h-7v2h2v34H9a1 1 0 1 0 0 2h30a1 1 0 1 0 0-2h-3V8h2V6zm-2 12a2 2 0 0 0 2-2v-5h3v31h-3v-4h1v-2H16v2h1v4h-3V11h3v5a2 2 0 0 0 2 2zm-6 24h2v-4h-2zM34 8v1h-3V8zM14 9h3V8h-3zm6 1h3V7h2v3h3v2h-3v3h-2v-3h-3z" clip-rule="evenodd"/></g></svg>How to use the Hospital icon
React
import { Icon } from "@iconify/react";
<Icon icon="healthicons:hospital" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="healthicons:hospital" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="healthicons:hospital" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[healthicons--hospital]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/healthicons -->
<div class="i-healthicons:hospital"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="healthicons:hospital"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/healthicons/hospital.svg" alt="Hospital icon" width="24" height="24">Related icons in Health Icons
Hospital icon in other icon sets
Hospital icon FAQ
Is the Hospital icon free for commercial use?
Yes. Health 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="healthicons: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/healthicons/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.