softicons.dev

hospital icon

Free hospital SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons commerce set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <rect x="4" y="6" width="16" height="16" rx="1.5"/>
  <path d="M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2"/>
  <line x1="12" y1="10" x2="12" y2="16"/>
  <line x1="9" y1="13" x2="15" y2="13"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/commerce/hospital.svg"
     width="24" height="24" alt="hospital icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { HospitalIcon } from "@softicons/react";

export default function Example() {
  return <HospitalIcon size={24} strokeWidth={2} />;
}
<script setup>
import { HospitalIcon } from "@softicons/vue";
</script>

<template>
  <HospitalIcon :size="24" :stroke-width="2" />
</template>
import { HospitalIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [HospitalIconComponent],
  template: `<hospital-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}