Hospital icon
guidance:hospital
The Hospital icon (guidance:hospital) is a free SVG icon from the Guidance set by Streamline. It is drawn on a 24 × 24 grid. Guidance icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Guidance
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" d="M3.5 22v-7.961a20 20 0 0 0-1.567-7.761L1.5 5.25V5h6m13 17v-7.961a20 20 0 0 1 1.567-7.761L22.5 5.25V5h-6m0 17v-6.5h-9V22M24 23.5H0m12-21V5m0 0v2.5M12 5h2.5M12 5H9.5M12 15.5V22M7.5.5h9v9h-9z"/></svg>How to use the Hospital icon
React
import { Icon } from "@iconify/react";
<Icon icon="guidance:hospital" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="guidance:hospital" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="guidance:hospital" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[guidance--hospital]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/guidance -->
<div class="i-guidance:hospital"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="guidance:hospital"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/guidance/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. Guidance icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Hospital icon in React?
Install @iconify/react and render <Icon icon="guidance: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/guidance/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.