hospital icon

hospital from IconPark by ByteDance · Color · Health · Apache-2.0 Free for personal and commercial use.

Name
hospital
Set
IconPark
Style
Color
Category
Health
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More health icons from IconPark

Use the hospital icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke-width="4"><path fill="#2F88FF" stroke="#000" stroke-linejoin="round" d="M33 5H5V43H33V5Z"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" d="M33 21H43V43H33"/><path stroke="#fff" stroke-linecap="round" d="M13 21H25"/><path stroke="#fff" stroke-linecap="round" d="M19 15V27"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkHospital(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" strokeWidth="4"><path fill="#2F88FF" stroke="#000" strokeLinejoin="round" d="M33 5H5V43H33V5Z"/><path stroke="#000" strokeLinecap="round" strokeLinejoin="round" d="M33 21H43V43H33"/><path stroke="#fff" strokeLinecap="round" d="M13 21H25"/><path stroke="#fff" strokeLinecap="round" d="M19 15V27"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke-width="4"><path fill="#2F88FF" stroke="#000" stroke-linejoin="round" d="M33 5H5V43H33V5Z"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" d="M33 21H43V43H33"/><path stroke="#fff" stroke-linecap="round" d="M13 21H25"/><path stroke="#fff" stroke-linecap="round" d="M19 15V27"/></g></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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20d%3D%22M33%205H5V43H33V5Z%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M33%2021H43V43H33%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M13%2021H25%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M19%2015V27%22%2F%3E%3C%2Fg%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20d%3D%22M33%205H5V43H33V5Z%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M33%2021H43V43H33%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M13%2021H25%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M19%2015V27%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/hospital.svg?color=%231a73e8&size=48