Building icon
hugeicons:building
The Building icon (hugeicons:building) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path stroke-linejoin="round" d="m6.502 4.888l3-1.215c2.49-1.01 3.735-1.514 4.616-.917C15 3.352 15 4.699 15 7.392V21.5H4V8.607c0-1.31 0-1.966.342-2.474s.948-.754 2.16-1.245M15 8.5h1c1.886 0 2.828 0 3.414.586S20 10.614 20 12.5v9h-5"/><path d="M2 21.5h20"/><path stroke-linejoin="round" d="M8 8.5h3m-3 4h3m-3 4h3"/></g></svg>How to use the Building icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:building" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:building" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:building" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--building]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:building"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:building"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/building.svg" alt="Building icon" width="24" height="24">Related icons in Huge Icons
Building icon in other icon sets
Building icon FAQ
Is the Building icon free for commercial use?
Yes. Huge 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="hugeicons: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/hugeicons/building.svg" alt="Building icon">, or paste the SVG code inline to style it with CSS.