ICONYZ
English
Building icon from Gitlab SVGs

Building icon

pajamas:building

The Building icon (pajamas:building) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs 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
Gitlab SVGs
Author
GitLab B.V.
License
MIT
Size
24 × 24
Download SVG

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="M3.5 14.5v-13h9v13H11V11a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3.5zm3 0h3v-3h-3zM2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1zm3 2.75A.75.75 0 0 1 5.75 3h1a.75.75 0 0 1 0 1.5h-1A.75.75 0 0 1 5 3.75M9.25 3a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5zM5 7.25a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1A.75.75 0 0 1 5 7.25m4.25-.75a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/></svg>

How to use the Building icon

React

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

<Icon icon="pajamas:building" width="24" />

Vue

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

<template>
  <Icon icon="pajamas:building" width="24" />
</template>

Svelte

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

<Icon icon="pajamas:building" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pajamas:building"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pajamas/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. Gitlab SVGs 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="pajamas: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/pajamas/building.svg" alt="Building icon">, or paste the SVG code inline to style it with CSS.

Browse all Gitlab SVGs icons →