Hospital
The hospital icon represents a medical building or facility where patients receive treatment.
Exports at 24 × 24 px
Code
Hospital in your framework
In any framework. Customize it above, and the code follows.
export const HospitalIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
<path fill="#45413c" d="M3.5 45.5a20.5 1.5 0 1 0 41 0a20.5 1.5 0 1 0-41 0" opacity=".15"/><path fill="#8ca4b8" d="M4 15h40v3H4Z"/><path fill="#adc4d9" d="M43 15H5a1 1 0 0 0-1 1v1a1 1 0 0 0 0 .25a1 1 0 0 1 1-.75h38a1 1 0 0 1 1 .75a1 1 0 0 0 0-.25v-1a1 1 0 0 0-1-1"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M4 15h40v3H4Z"/><path fill="#fff" d="M5 18h38v25.5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z"/><path fill="#e0e0e0" d="M5 18h38v2.25H5z"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M5 18h38v25.5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z"/><path fill="#fff" d="M13.5 12.5h21v32h-21z"/><path fill="#e0e0e0" d="M13.5 12.5h21v1.79h-21z"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M13.5 12.5h21v32h-21z"/><path fill="#00b8f0" d="M18 33.5h12v11H18z"/><path fill="#4acfff" d="M20.44 44.5h5.2L30 33.93v-.43h-5.03z"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M18 33.5h12v11H18z"/><path fill="#8ca4b8" d="M17 30h14v3.5H17Z"/><path fill="#adc4d9" d="M30 30H18a1 1 0 0 0-1 1v1.5a.5.5 0 0 0 0 .12a1 1 0 0 1 1-.87h12a1 1 0 0 1 1 .87a.5.5 0 0 0 0-.12V31a1 1 0 0 0-1-1"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M17 30h14v3.5H17Z"/><path fill="#8ca4b8" d="M12.5 9.5h23v3h-23Z"/><path fill="#adc4d9" d="M34.5 9.5h-21a1 1 0 0 0-1 1v1a1 1 0 0 0 .05.25a1 1 0 0 1 .95-.75h21a1 1 0 0 1 1 .75a1 1 0 0 0 0-.25v-1a1 1 0 0 0-1-1"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M12.5 9.5h23v3h-23Z"/><path fill="#ff6242" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M27.5 19H26a.5.5 0 0 1-.5-.5V17a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v1.5a.5.5 0 0 1-.5.5h-1.5a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5H22a.5.5 0 0 1 .5.5V24a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-1.5a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5"/><path fill="#00b8f0" d="M8 20.5h2.5V25H8Z"/><path fill="#4acfff" d="M8.5 25H10a.5.5 0 0 0 .5-.5V21a.5.5 0 0 0-.11-.3l-2.22 4.17a.5.5 0 0 0 .33.13"/><path fill="#00b8f0" d="M8 27.5h2.5V32H8Z"/><path fill="#4acfff" d="M8.5 32H10a.5.5 0 0 0 .5-.5V28a.5.5 0 0 0-.11-.3l-2.22 4.17a.5.5 0 0 0 .33.13"/><path fill="#00b8f0" d="M8 34.5h2.5V39H8Z"/><path fill="#4acfff" d="M8.5 39H10a.5.5 0 0 0 .5-.5V35a.5.5 0 0 0-.11-.3l-2.22 4.17a.5.5 0 0 0 .33.13"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M8 20.5h2.5V25H8Zm0 7h2.5V32H8Zm0 7h2.5V39H8Z"/><path fill="#00b8f0" d="M37.5 20.5H40V25h-2.5Z"/><path fill="#4acfff" d="M38 25h1.5a.5.5 0 0 0 .5-.5V21a.5.5 0 0 0-.11-.3l-2.22 4.17A.5.5 0 0 0 38 25"/><path fill="#00b8f0" d="M37.5 27.5H40V32h-2.5Z"/><path fill="#4acfff" d="M38 32h1.5a.5.5 0 0 0 .5-.5V28a.5.5 0 0 0-.11-.3l-2.22 4.17A.5.5 0 0 0 38 32"/><path fill="#00b8f0" d="M37.5 34.5H40V39h-2.5Z"/><path fill="#4acfff" d="M38 39h1.5a.5.5 0 0 0 .5-.5V35a.5.5 0 0 0-.11-.3l-2.22 4.17A.5.5 0 0 0 38 39"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M37.5 20.5H40V25h-2.5Zm0 7H40V32h-2.5Zm0 7H40V39h-2.5Zm-13.5-1v11"/>
</svg>
);Other libraries
Hospital in 8 more libraries
Each library draws it its own way. Open one to compare.
Streamline Emojis
More like it
Icons that share its tags, then the ones next to it in Streamline Emojis, in the same style.
Search Streamline Emojis
Skip the copy and paste. With Pro, your AI agent finds and installs any Streamline Emojis icon from a prompt.
Get ProTags
Browse by tag
Hospital is tagged medical, healthcare, building and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Streamline Emojis MCP, with Pro
Ask for Hospital or any of 787 Streamline Emojis icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Hospital icon means and where it's used, then how to install, style, label and license it.
The hospital icon represents a medical building or facility where patients receive treatment. Hospitals are institutions offering healthcare services and are essential for community well-being.
The hospital icon is widely used on maps, directories, or websites to indicate medical facilities. Digital platforms like Google Maps utilize similar icons for locating nearby hospitals.
The hospital icon helps users quickly identify healthcare services. Clear representation aids navigation to medical facilities, especially during emergencies.
Hospital is one of 787 icons in Streamline Emojis, made by Streamline and released under CC BY 4.0. It is drawn on a 48 × 48 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds HospitalIcon to components/icons/streamline-emojis-hospital.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed HospitalIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Hospital icon, or any of 787 Streamline Emojis icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 48 × 48 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Hospital", so screen readers say what it does.
Yes. HospitalIcon passes every SVG prop to the svg element, so <HospitalIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Streamline) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Streamline, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Hospital. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are medical, healthcare, building, medicine and facility. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Hospital in another set.
4.9 out of 5 from 150+ developers
Install Hospital from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro