Building icon
wpf:building
The Building icon (wpf:building) is a free SVG icon from the Icons8 Windows 8 Icons set by Icons8. It is drawn on a 26 × 26 grid. Icons8 Windows 8 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
- Icons8 Windows 8 Icons
- Author
- Icons8
- License
- MIT
- Size
- 26 × 26
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path fill="currentColor" d="M6 0C4.355 0 3 1.355 3 3v23h20V3c0-1.645-1.355-3-3-3zm0 2h14c.555 0 1 .445 1 1v21h-2v-5h-5v5H5V3c0-.555.445-1 1-1m1 2v3h5V4zm7 0v3h5V4zM7 9v3h5V9zm7 0v3h5V9zm-7 5v3h5v-3zm7 0v3h5v-3zm-7 5v3h5v-3z"/></svg>How to use the Building icon
React
import { Icon } from "@iconify/react";
<Icon icon="wpf:building" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="wpf:building" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="wpf:building" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[wpf--building]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/wpf -->
<div class="i-wpf:building"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="wpf:building"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/wpf/building.svg" alt="Building icon" width="24" height="24">Building icon in other icon sets
Building icon FAQ
Is the Building icon free for commercial use?
Yes. Icons8 Windows 8 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="wpf: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/wpf/building.svg" alt="Building icon">, or paste the SVG code inline to style it with CSS.