Hospital icon
fa6-solid:hospital
The Hospital icon (fa6-solid:hospital) is a free SVG icon from the Font Awesome 6 Solid set by Dave Gandy. It is drawn on a 640 × 512 grid. Font Awesome 6 Solid 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
- Font Awesome 6 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 512
- Category
- Objects, Buildings, Health, Medical, Maps
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="512" viewBox="0 0 640 512"><path fill="currentColor" d="M192 48c0-26.5 21.5-48 48-48h160c26.5 0 48 21.5 48 48v464h-80v-80c0-26.5-21.5-48-48-48s-48 21.5-48 48v80h-80zM48 96h112v416H48c-26.5 0-48-21.5-48-48V320h80c8.8 0 16-7.2 16-16s-7.2-16-16-16H0v-64h80c8.8 0 16-7.2 16-16s-7.2-16-16-16H0v-48c0-26.5 21.5-48 48-48m544 0c26.5 0 48 21.5 48 48v48h-80c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v64h-80c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v144c0 26.5-21.5 48-48 48H480V96zM312 64c-8.8 0-16 7.2-16 16v24h-24c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h24v24c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-24h24c8.8 0 16-7.2 16-16v-16c0-8.8-7.2-16-16-16h-24V80c0-8.8-7.2-16-16-16z"/></svg>How to use the Hospital icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa6-solid:hospital" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa6-solid:hospital" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa6-solid:hospital" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa6-solid--hospital]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa6-solid -->
<div class="i-fa6-solid:hospital"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa6-solid:hospital"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa6-solid/hospital.svg" alt="Hospital icon" width="24" height="24">Related icons in Font Awesome 6 Solid
Hospital icon in other icon sets
Hospital icon FAQ
Is the Hospital icon free for commercial use?
Yes. Font Awesome 6 Solid 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="fa6-solid: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/fa6-solid/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.