Building Office 2 Solid icon
heroicons:building-office-2-solid
The Building Office 2 Solid icon (heroicons:building-office-2-solid) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- buildingoffice, officesolid, buildingofficesolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M3 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5H15v-18a.75.75 0 0 0 0-1.5zM6.75 19.5v-2.25a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75M6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 0 1.5h-.75A.75.75 0 0 1 6 6.75M6.75 9a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5zM6 12.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75M10.5 6a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5zm-.75 3.75A.75.75 0 0 1 10.5 9h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75M10.5 12a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5zm6-5.25v15h5.25a.75.75 0 0 0 0-1.5H21v-12a.75.75 0 0 0 0-1.5zm1.5 4.5a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75zm.75 2.25a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75zM18 17.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75z" clip-rule="evenodd"/></svg>How to use the Building Office 2 Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:building-office-2-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:building-office-2-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:building-office-2-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--building-office-2-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:building-office-2-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:building-office-2-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/building-office-2-solid.svg" alt="Building Office 2 Solid icon" width="24" height="24">Related icons in HeroIcons
Building Office 2 Solid icon FAQ
Is the Building Office 2 Solid icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Building Office 2 Solid icon in React?
Install @iconify/react and render <Icon icon="heroicons:building-office-2-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Building Office 2 Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/building-office-2-solid.svg" alt="Building Office 2 Solid icon">, or paste the SVG code inline to style it with CSS.