hospital icon
hospital from Carbon by IBM · Outline · Planning · Apache-2.0 Free for personal and commercial use.
- Name
- hospital
- Set
- Carbon
- Style
- Outline
- Category
- Planning
- Viewbox
- 32×32
- License
- Apache 2.0
The same icon in other sets
hospitalBootstrap IconshospitalEmoji One (Colored)hospitalFont Awesome 6 RegularhospitalFont Awesome 6 SolidhospitalFont Awesome RegularhospitalFont Awesome SolidhospitalFluent EmojihospitalFluent Emoji FlathospitalFluent Emoji High ContrasthospitalFirefox OS EmojihospitalHealth IconshospitalIconParkhospitalIconPark OutlinehospitalIconPark SolidhospitalIconPark TwoTonehospitalIconoirhospitalLine AwesomehospitalLucidehospitalMaterial Design Iconshospital-fillMingCute IconhospitalMyna UI IconshospitalNoto EmojihospitalOpenMojihospitalPhosphor
More planning icons from Carbon
accumulation-iceaccumulation-precipitationaccumulation-rainaccumulation-snowagriculture-analyticsairline-digital-gateairline-manage-gatesairline-passenger-careairline-rapid-boardairport-01airport-02airport-locationalarmalarm-addalarm-subtractarray-date-timearray-timearrivalbaggage-claimbarbicyclebootbuoybus
Use the hospital icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><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>
React
import type { SVGProps } from "react";
export function CarbonHospital(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><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>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><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> </template>
CSS
.icon-hospital {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%2010h-4V6h-2v4h-4v2h4v4h2v-4h4z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M28%2010h-2V4a2%202%200%200%200-2-2H8a2%202%200%200%200-2%202v6H4a2%202%200%200%200-2%202v18h28V12a2%202%200%200%200-2-2M14%2028v-6h4v6Zm6%200v-7a1%201%200%200%200-1-1h-6a1%201%200%200%200-1%201v7H4V12h4V4h16v8h4v16Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%2010h-4V6h-2v4h-4v2h4v4h2v-4h4z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M28%2010h-2V4a2%202%200%200%200-2-2H8a2%202%200%200%200-2%202v6H4a2%202%200%200%200-2%202v18h28V12a2%202%200%200%200-2-2M14%2028v-6h4v6Zm6%200v-7a1%201%200%200%200-1-1h-6a1%201%200%200%200-1%201v7H4V12h4V4h16v8h4v16Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/carbon/hospital.svg?color=%231a73e8&size=48