Building icon
andrsrxn:building
The Building icon (andrsrxn:building) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Buildings
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M4.43 22.2V5.7c0-1.88 0-2.82.59-3.41s1.53-.59 3.41-.59h7.14c1.88 0 2.82 0 3.41.59s.59 1.53.59 3.41v16.5h-2c-.62 0-.92 0-1.17-.06a2 2 0 0 1-1.43-1.42c-.06-.25-.06-.56-.06-1.17c0-.45 0-.67-.04-.87a2 2 0 0 0-.95-1.33a5 5 0 0 0-.82-.31l-.21-.08l-.4-.12a2 2 0 0 0-.97.02l-.4.14c-.35.14-.53.21-.68.3a2 2 0 0 0-.93 1.37c-.03.17-.03.36-.03.74v.09c0 .66 0 .99-.08 1.26a2 2 0 0 1-1.37 1.37c-.27.08-.6.08-1.26.08z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.43 22.2V7.7c0-2.82 0-4.24.88-5.12s2.3-.88 5.12-.88h3.14c2.82 0 4.24 0 5.12.88s.88 2.3.88 5.12v14.5m2.46.06H1.97M10.3 5.42H8m8 0h-2.3m-3.4 3.86H8m8 0h-2.3m-3.4 3.87H8m8 0h-2.3"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.95 22.2v-2.23c0-1.03 0-1.55.18-1.95a2 2 0 0 1 .98-.97c.4-.19.91-.19 1.94-.19s1.55 0 1.94.19a2 2 0 0 1 .98.97c.18.4.18.92.18 1.95v2.24"/></g></svg>How to use the Building icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:building" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:building" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:building" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--building]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:building"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:building"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/building.svg" alt="Building icon" width="24" height="24">Related icons in andrsrxn/icons
Building icon in other icon sets
Building icon FAQ
Is the Building icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/building.svg" alt="Building icon">, or paste the SVG code inline to style it with CSS.