Carbon Hospital Icon
The Hospital icon is part of the Carbon Icons collection — 2,644+ professional icons for health and fitness apps, medical record systems, wellness dashboards, telemedicine platforms, and patient portals. On IconStash, you can preview, customize, compare across libraries, and download in SVG, PNG, JSX, or CSS format.
Interactive Customizer
About this icon
Use the Hospital icon
The Hospital icon (Carbon Icons) is categorized under Health. Its fill style is optimal for interface components and product UI and scales cleanly from 16px to 512px.
Use the IconStash detail panel to preview with a custom background, adjust stroke width, and generate production-ready SVG or PNG files without any external tools.
Export formats
Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.
All exports are based on the same editable vector — so the Hospital icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.
Design & UX integration
Aesthetic characteristics
Carbon is IBM's design system, and Hospital reflects its enterprise-first constraints: flat geometry, no gradients, and shapes that survive being shrunk into dense data grids. It is a common choice for regulated, data-heavy products where clarity outranks personality.
UX best practices
In health, fitness and clinical interfaces, the Hospital icon usually sits beside a number, so align it to the same baseline as the metric and give it room. Avoid encoding severity in colour alone: red-only status fails for colour-blind users and reads as alarm fatigue in long-term tracking screens.
Use in your project
React / npm — Carbon Icons
npm install @carbon/icons-react
import { Hospital } from '@carbon/icons-react';
// JSX usage:
<Hospital size={24} />
Copy the SVG markup directly from the IconStash editor to use the Hospital icon without any npm package — paste it into HTML, JSX, or a design tool.
Inline SVG (copy & paste)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="hospital icon"><path fill="currentColor" d="M21 10h-4V6h-2v4h-4v2h4v4h2v-4h4z"/><path fill="currentColor" d="M28 10h-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v6H4a2 2 0 0 0-2 2v18h28V12a2 2 0 0 0-2-2M14 28v-6h4v6Zm6 0v-7a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v7H4V12h4V4h16v8h4v16Z"/></svg>
Library & related icons
About Carbon Icons
IBM's open-source icon library aligned with the Carbon Design System. 2,600+ enterprise-grade icons maintained by IBM's design team.
Browse all 2,644 Carbon Icons icons →Related searches
People also search for
Frequently asked questions
What is the Hospital icon?
The Hospital icon is a fill-style SVG icon from the Carbon Icons library, categorized under Health. It is designed for use in health and fitness apps, medical record systems, wellness dashboards, telemedicine platforms, and patient portals. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.
Is the Hospital icon free to use?
Yes. Carbon Icons is licensed under Apache 2.0, making it free for personal and commercial use. This means you can freely use the Hospital icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.
How do I use the Hospital icon in React?
Install the package with `npm install @carbon/icons-react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.
What is the Carbon Icons icon library?
IBM's open-source icon library aligned with the Carbon Design System. 2,600+ enterprise-grade icons maintained by IBM's design team. It contains 2,644+ icons. IconStash indexes the complete Carbon Icons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.
Can I download the Hospital icon as a PNG?
Yes. Open the Hospital icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.
What does the fill icon style mean?
An icon in fill style uses a clean SVG vector format. This style is best suited for interface components. The Carbon Icons Hospital icon follows this visual convention throughout the Carbon Icons design system.
Can I change the Hospital icon's color and size before downloading?
Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.