Hospital icon
twemoji:hospital
The Hospital icon (twemoji:hospital) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji 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
- Twitter Emoji
- Author
- License
- CC-BY-4.0
- Size
- 36 × 36
- Category
- Travel & Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#ccd6dd" d="M0 9v25a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V9z"/><path fill="#99aab5" d="M34 7H2a2 2 0 0 0-2 2h36a2 2 0 0 0-2-2"/><path fill="#55acee" d="M2 18h32v4H2zm0-6h32v4H2zm0 12h32v4H2z"/><path fill="#55acee" d="M34 24H2v4h32z"/><path fill="#e1e8ed" d="M8 2h20v34H8z"/><path fill="#55acee" d="M10 20h16v4H10zm0-6h16v4H10zm0 12h16v4H10z"/><path fill="#3b88c3" d="M13 32h10v4H13z"/><path fill="#dd2e44" d="M22 6.5v3h-2.5V12h-3V9.5H14v-3h2.5V4h3v2.5zm-4.5 1H15v1h2.5V11h1V8.5H21v-1h-2.5V5h-1z"/><path fill="#99aab5" d="M26 0H10a2 2 0 0 0-2 2h20a2 2 0 0 0-2-2"/></svg>How to use the Hospital icon
React
import { Icon } from "@iconify/react";
<Icon icon="twemoji:hospital" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="twemoji:hospital" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="twemoji:hospital" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[twemoji--hospital]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/twemoji -->
<div class="i-twemoji:hospital"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="twemoji:hospital"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/twemoji/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. Twitter Emoji 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="twemoji: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/twemoji/hospital.svg" alt="Hospital icon">, or paste the SVG code inline to style it with CSS.