ICONYZ
English
Building 2 Outline icon from Glyphs

Building 2 Outline icon

glyphs:building-2-outline

The Building 2 Outline icon (glyphs:building-2-outline) is a free SVG icon from the Glyphs set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs 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
Glyphs
Author
Goran Spasojevic
License
MIT
Size
80 × 80
Tags
buildingoutline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none" fill-rule="evenodd" clip-rule="evenodd"><path fill="currentColor" fill-opacity=".25" d="M31 28a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm10-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm-14 6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm10-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm-14 6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm10-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2z"/><path fill="currentColor" fill-opacity=".25" d="M42 8a2 2 0 1 0-4 0v2h-7a2 2 0 0 0-2 2v4h-5a2 2 0 0 0-2 2v6a2 2 0 0 0 1 1.732V70a2 2 0 1 0 0 4h34a2 2 0 1 0 0-4V25.732A2 2 0 0 0 58 24v-6a2 2 0 0 0-2-2h-5v-4a2 2 0 0 0-2-2h-7zm5 6v2H33v-2zm7 6v2H26v-2zM27 70V26h26v44h-5v-2a4 4 0 0 0-4-4h-8a4 4 0 0 0-4 4v2zm9-2v2h8v-2z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M31 28a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm10-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm-14 6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm10-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm-14 6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2zm10-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm2 6v-2h2v2z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M42 8a2 2 0 1 0-4 0v2h-7a2 2 0 0 0-2 2v4h-5a2 2 0 0 0-2 2v6a2 2 0 0 0 1 1.732V70a2 2 0 1 0 0 4h34a2 2 0 1 0 0-4V25.732A2 2 0 0 0 58 24v-6a2 2 0 0 0-2-2h-5v-4a2 2 0 0 0-2-2h-7zm5 6v2H33v-2zm7 6v2H26v-2zM27 70V26h26v44h-5v-2a4 4 0 0 0-4-4h-8a4 4 0 0 0-4 4v2zm9-2v2h8v-2z"/></g></svg>

How to use the Building 2 Outline icon

React

import { Icon } from "@iconify/react";

<Icon icon="glyphs:building-2-outline" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="glyphs:building-2-outline" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="glyphs:building-2-outline" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs--building-2-outline]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/glyphs -->
<div class="i-glyphs:building-2-outline"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="glyphs:building-2-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/glyphs/building-2-outline.svg" alt="Building 2 Outline icon" width="24" height="24">

Related icons in Glyphs

Building 2 Outline icon FAQ

Is the Building 2 Outline icon free for commercial use?

Yes. Glyphs icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Building 2 Outline icon in React?

Install @iconify/react and render <Icon icon="glyphs:building-2-outline" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Building 2 Outline icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/glyphs/building-2-outline.svg" alt="Building 2 Outline icon">, or paste the SVG code inline to style it with CSS.

Browse all Glyphs icons →