Hospital icon
cil:hospital
The Hospital icon (cil:hospital) is a free SVG icon from the CoreUI Free set by creativeLabs Łukasz Holeczek. It is drawn on a 512 × 512 grid. CoreUI Free 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
- CoreUI Free
- Author
- creativeLabs Łukasz Holeczek
- License
- CC-BY-4.0
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M160 304h32v32h-32zm80 0h32v32h-32zm80 0h32v32h-32z"/><path fill="currentColor" d="M440 464V88h-72V16H144v72H72v376H16v32h480v-32ZM176 48h160v160H176Zm232 416H272v-64h-32v64H104V120h40v120h224V120h40Z"/><path fill="currentColor" d="M272 80h-32v32h-32v32h32v32h32v-32h32v-32h-32z"/></svg>How to use the Hospital icon
React
import { Icon } from "@iconify/react";
<Icon icon="cil:hospital" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="cil:hospital" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="cil:hospital" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[cil--hospital]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/cil -->
<div class="i-cil:hospital"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="cil:hospital"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/cil/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. CoreUI Free 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="cil: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/cil/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.