building from Prime Icons by PrimeTek · Regular · MIT Free for personal and commercial use.

Name
building
Set
Prime Icons
Style
Regular
Viewbox
24×24
License
MIT

The same icon in other sets

Related icons in Prime Icons

Use the building icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><rect width="2" height="2" x="9" y="6" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="6" fill="currentColor" rx=".5"/><rect width="2" height="2" x="9" y="9.5" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="9.5" fill="currentColor" rx=".5"/><rect width="2" height="2" x="9" y="13" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="13" fill="currentColor" rx=".5"/><path fill="currentColor" d="M18.25 19.25h-.5V4a.76.76 0 0 0-.75-.75H7a.76.76 0 0 0-.75.75v15.25h-.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5m-2 0H11V17a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v2.25H7.75V4.75h8.5Z"/></svg>

React

import type { SVGProps } from "react";

export function PrimeBuilding(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><rect width="2" height="2" x="9" y="6" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="6" fill="currentColor" rx=".5"/><rect width="2" height="2" x="9" y="9.5" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="9.5" fill="currentColor" rx=".5"/><rect width="2" height="2" x="9" y="13" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="13" fill="currentColor" rx=".5"/><path fill="currentColor" d="M18.25 19.25h-.5V4a.76.76 0 0 0-.75-.75H7a.76.76 0 0 0-.75.75v15.25h-.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5m-2 0H11V17a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v2.25H7.75V4.75h8.5Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><rect width="2" height="2" x="9" y="6" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="6" fill="currentColor" rx=".5"/><rect width="2" height="2" x="9" y="9.5" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="9.5" fill="currentColor" rx=".5"/><rect width="2" height="2" x="9" y="13" fill="currentColor" rx=".5"/><rect width="2" height="2" x="13" y="13" fill="currentColor" rx=".5"/><path fill="currentColor" d="M18.25 19.25h-.5V4a.76.76 0 0 0-.75-.75H7a.76.76 0 0 0-.75.75v15.25h-.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5m-2 0H11V17a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v2.25H7.75V4.75h8.5Z"/></svg>
</template>

CSS

.icon-building {
  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%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%229%22%20y%3D%226%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%2213%22%20y%3D%226%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%229%22%20y%3D%229.5%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%2213%22%20y%3D%229.5%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%229%22%20y%3D%2213%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%2213%22%20y%3D%2213%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M18.25%2019.25h-.5V4a.76.76%200%200%200-.75-.75H7a.76.76%200%200%200-.75.75v15.25h-.5a.75.75%200%200%200%200%201.5h12.5a.75.75%200%200%200%200-1.5m-2%200H11V17a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v2.25H7.75V4.75h8.5Z%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%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%229%22%20y%3D%226%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%2213%22%20y%3D%226%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%229%22%20y%3D%229.5%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%2213%22%20y%3D%229.5%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%229%22%20y%3D%2213%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Crect%20width%3D%222%22%20height%3D%222%22%20x%3D%2213%22%20y%3D%2213%22%20fill%3D%22currentColor%22%20rx%3D%22.5%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M18.25%2019.25h-.5V4a.76.76%200%200%200-.75-.75H7a.76.76%200%200%200-.75.75v15.25h-.5a.75.75%200%200%200%200%201.5h12.5a.75.75%200%200%200%200-1.5m-2%200H11V17a.5.5%200%200%200-.5-.5h-1a.5.5%200%200%200-.5.5v2.25H7.75V4.75h8.5Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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