softicons.dev

building 2 icon

Free building 2 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">
  <path d="M6 22V4a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v18"/>
  <path d="M15 9h3a1 1 0 0 1 1 1v12"/>
  <line x1="9" y1="7" x2="11" y2="7"/>
  <line x1="9" y1="11" x2="11" y2="11"/>
  <line x1="9" y1="15" x2="11" y2="15"/>
  <line x1="3" y1="22" x2="21" y2="22"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/commerce/building-2.svg"
     width="24" height="24" alt="building 2 icon">

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

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

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

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