ICONYZ
English
Buildings 2 Linear icon from Solar

Buildings 2 Linear icon

solar:buildings-2-linear

The Buildings 2 Linear icon (solar:buildings-2-linear) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Solar
Author
480 Design
License
CC-BY-4.0
Size
24 × 24
Category
Building
Tags
buildingslinear, building
Download SVG

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-width="1.5"><path stroke-linecap="round" d="M22 22L2 22"/><path d="M17 22V6C17 4.11438 17 3.17157 16.4142 2.58579C15.8284 2 14.8856 2 13 2H11C9.11438 2 8.17157 2 7.58579 2.58579C7 3.17157 7 4.11438 7 6V22"/><path d="M21 22V11.5C21 10.0955 21 9.39331 20.6629 8.88886C20.517 8.67048 20.3295 8.48298 20.1111 8.33706C19.6067 8 18.9045 8 17.5 8"/><path d="M3 22V11.5C3 10.0955 3 9.39331 3.33706 8.88886C3.48298 8.67048 3.67048 8.48298 3.88886 8.33706C4.39331 8 5.09554 8 6.5 8"/><path stroke-linecap="round" d="M12 22V19"/><path stroke-linecap="round" d="M10 5H14"/><path stroke-linecap="round" d="M10 8H14"/><path stroke-linecap="round" d="M10 11H14"/><path stroke-linecap="round" d="M10 14H14"/></g></svg>

How to use the Buildings 2 Linear icon

React

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

<Icon icon="solar:buildings-2-linear" width="24" />

Vue

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

<template>
  <Icon icon="solar:buildings-2-linear" width="24" />
</template>

Svelte

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

<Icon icon="solar:buildings-2-linear" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--buildings-2-linear]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:buildings-2-linear"></div>

Web component

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

<iconify-icon icon="solar:buildings-2-linear"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/solar/buildings-2-linear.svg" alt="Buildings 2 Linear icon" width="24" height="24">

Related icons in Solar

Buildings 2 Linear icon FAQ

Is the Buildings 2 Linear icon free for commercial use?

Yes. Solar icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Buildings 2 Linear icon in React?

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

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

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

Browse all Solar icons →