Building icon
griddy-icons:building
The Building icon (griddy-icons:building) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons 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
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- Size
- 24 × 24
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="M19.25 10H18V4.25C18 3.56 17.44 3 16.75 3h-9.5C6.56 3 6 3.56 6 4.25V10H4.75A2.755 2.755 0 0 0 2 12.75V21h20v-8.25A2.755 2.755 0 0 0 19.25 10M3.5 19.5v-6.75c0-.69.56-1.25 1.25-1.25H6v8zm13 0h-9v-15h9zm1.5 0v-8h1.25c.69 0 1.25.56 1.25 1.25v6.75zm-7-13H9.5V9H11zm2 0h1.5V9H13zm-2 4H9.5V13H11zm2 0h1.5V13H13zm-2 4H9.5V17H11zm2 0h1.5V17H13z" clip-rule="evenodd"/></svg>How to use the Building icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:building" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:building" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:building" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--building]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:building"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:building"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/building.svg" alt="Building icon" width="24" height="24">Related icons in Griddy Icons
Building icon in other icon sets
Building icon FAQ
Is the Building icon free for commercial use?
Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Building icon in React?
Install @iconify/react and render <Icon icon="griddy-icons:building" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Building icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/building.svg" alt="Building icon">, or paste the SVG code inline to style it with CSS.