ICONYZ
English
Building 2 icon from Vadivam

Building 2 icon

vadivam:building-2

The Building 2 icon (vadivam:building-2) is a free SVG icon from the Vadivam set by Praveen Juge. It is drawn on a 24 × 24 grid. Vadivam 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
Vadivam
Author
Praveen Juge
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 22h20M3.795 22V6.978c0-1.743 0-2.614.335-3.28c.29-.58.761-1.055 1.345-1.358C6.133 2 6.995 2 8.718 2h.41c1.723 0 2.585 0 3.243.34c.584.303 1.055.78 1.345 1.359c.335.665.335 1.536.335 3.279V22M9.95 6H7.897m2.052 4H7.897m2.052 4H7.897M20 22V11.444c0-2.305-.819-3.148-3-3.148h-2.949"/></svg>

How to use the Building 2 icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="vadivam:building-2"></iconify-icon>

HTML image

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

Related icons in Vadivam

Building 2 icon in other icon sets

Building 2 icon FAQ

Is the Building 2 icon free for commercial use?

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

How do I use the Building 2 icon in React?

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

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

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

Browse all Vadivam icons →