ICONYZ
English
Hospital icon from SmartIcons Glyph

Hospital icon

si-glyph:hospital

The Hospital icon (si-glyph:hospital) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
SmartIcons Glyph
Author
SmartIcons
License
CC-BY-SA-4.0
Size
17 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><path fill="currentColor" fill-rule="evenodd" d="M16 1H3v3.084H2v9.874c0 .547.447.989 1 .989h5V12h3.042v3l4.875-.053c.552 0 1.083-.442 1.083-.989V4h-1zM7.031 12.97H4v-1h3.031zm0-3H4v-1h3.031zm0-3H4v-1h3.031zM6.959 4h-3V3h3zM11 5.007h-1v.977H9v-.977H8V3.98h1v-.997h1v.997h1zm.953-2.028h3v1.047h-3zM15 12.97h-3v-1h3zm0-3h-3v-1h3zm0-3h-3v-1h3z"/></svg>

How to use the Hospital icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="si-glyph:hospital"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si-glyph/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. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Hospital icon in React?

Install @iconify/react and render <Icon icon="si-glyph: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/si-glyph/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.

Browse all SmartIcons Glyph icons →