hospital icon
hospital-line from MingCute Icon by MingCute Design · Line · Apache-2.0 Free for personal and commercial use.
- Name
- hospital-line
- Set
- MingCute Icon
- Style
- Line
- Viewbox
- 24×24
- License
- Apache 2.0
1 other variant in MingCute Icon
The same icon in other sets
hospitalBootstrap IconshospitalCarbonhospitalEmoji 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 IconshospitalMyna UI IconshospitalNoto EmojihospitalOpenMojihospitalPhosphor
Use the hospital icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9h4m-2 2V7M8 21v-4a2 2 0 1 1 4 0v4m4 0V4a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v17zm0 0V10h3a1 1 0 0 1 1 1v10z"/></svg>
React
import type { SVGProps } from "react";
export function MingcuteHospitalLine(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M8 9h4m-2 2V7M8 21v-4a2 2 0 1 1 4 0v4m4 0V4a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v17zm0 0V10h3a1 1 0 0 1 1 1v10z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9h4m-2 2V7M8 21v-4a2 2 0 1 1 4 0v4m4 0V4a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v17zm0 0V10h3a1 1 0 0 1 1 1v10z"/></svg> </template>
CSS
.icon-hospital-line {
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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M8%209h4m-2%202V7M8%2021v-4a2%202%200%201%201%204%200v4m4%200V4a1%201%200%200%200-1-1H5a1%201%200%200%200-1%201v17zm0%200V10h3a1%201%200%200%201%201%201v10z%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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M8%209h4m-2%202V7M8%2021v-4a2%202%200%201%201%204%200v4m4%200V4a1%201%200%200%200-1-1H5a1%201%200%200%200-1%201v17zm0%200V10h3a1%201%200%200%201%201%201v10z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/mingcute/hospital-line.svg?color=%231a73e8&size=48