I Hospital icon
medical-icon:i-hospital
The I Hospital icon (medical-icon:i-hospital) is a free SVG icon from the Medical Icons set by Samuel Frémondière. It is drawn on a 64 × 64 grid. Medical 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
- Medical Icons
- Author
- Samuel Frémondière
- License
- MIT
- Size
- 64 × 64
- Tags
- ihospital
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><path fill="currentColor" d="M20.13 34.78v27.8H7.18V.592h12.95v23.483h24.173V.592h12.95V62.58h-12.95v-27.8z"/></svg>How to use the I Hospital icon
React
import { Icon } from "@iconify/react";
<Icon icon="medical-icon:i-hospital" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="medical-icon:i-hospital" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="medical-icon:i-hospital" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[medical-icon--i-hospital]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/medical-icon -->
<div class="i-medical-icon:i-hospital"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="medical-icon:i-hospital"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/medical-icon/i-hospital.svg" alt="I Hospital icon" width="24" height="24">Related icons in Medical Icons
I Hospital icon FAQ
Is the I Hospital icon free for commercial use?
Yes. Medical Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the I Hospital icon in React?
Install @iconify/react and render <Icon icon="medical-icon:i-hospital" />, or use “Copy code” on this page to get a standalone React component.
How do I add the I Hospital icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/medical-icon/i-hospital.svg" alt="I Hospital icon">, or paste the SVG code inline to style it with CSS.