ICONYZ
English
Buildings Line Duotone icon from Solar

Buildings Line Duotone icon

solar:buildings-line-duotone

The Buildings Line Duotone icon (solar:buildings-line-duotone) 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
buildingsline, lineduotone, buildingslineduotone, 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="M21 22V6C21 4.11438 21 3.17157 20.4143 2.58579C19.8285 2 18.8857 2 17 2H15C13.1144 2 12.1716 2 11.5858 2.58579C11.1143 3.05733 11.0223 3.76022 11.0044 5" opacity=".5"/><path d="M15 22V9C15 7.11438 15 6.17157 14.4142 5.58579C13.8284 5 12.8856 5 11 5H7C5.11438 5 4.17157 5 3.58579 5.58579C3 6.17157 3 7.11438 3 9V22"/><path stroke-linecap="round" d="M9 22V19"/><path stroke-linecap="round" d="M6 8H12" opacity=".5"/><path stroke-linecap="round" d="M6 11H12" opacity=".5"/><path stroke-linecap="round" d="M6 14H12" opacity=".5"/></g></svg>

How to use the Buildings Line Duotone icon

React

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

<Icon icon="solar:buildings-line-duotone" width="24" />

Vue

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

<template>
  <Icon icon="solar:buildings-line-duotone" width="24" />
</template>

Svelte

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

<Icon icon="solar:buildings-line-duotone" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="solar:buildings-line-duotone"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/solar/buildings-line-duotone.svg" alt="Buildings Line Duotone icon" width="24" height="24">

Related icons in Solar

Buildings Line Duotone icon FAQ

Is the Buildings Line Duotone 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 Line Duotone icon in React?

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

How do I add the Buildings Line Duotone icon to a web page?

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

Browse all Solar icons →