Buildings 2 Outline icon
solar:buildings-2-outline
The Buildings 2 Outline icon (solar:buildings-2-outline) 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
- buildingsoutline, building
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="M10.948 1.25H13.052C13.9505 1.24997 14.6997 1.24995 15.2945 1.32991C15.9223 1.41432 16.4891 1.59999 16.9445 2.05546C17.4 2.51093 17.5857 3.07773 17.6701 3.70552C17.7501 4.30031 17.75 5.04953 17.75 5.94801L17.75 7.25005C18.3266 7.25051 18.8152 7.25491 19.219 7.29599C19.6925 7.34415 20.1318 7.44886 20.5278 7.71346C20.8281 7.9141 21.0859 8.17191 21.2865 8.47218C21.5511 8.86818 21.6559 9.30755 21.704 9.78102C21.75 10.2334 21.75 10.7921 21.75 11.4617V21.25H22C22.4142 21.25 22.75 21.5858 22.75 22C22.75 22.4142 22.4142 22.75 22 22.75H2C1.58579 22.75 1.25 22.4142 1.25 22C1.25 21.5858 1.58579 21.25 2 21.25H2.25L2.25 11.4617C2.24998 10.7921 2.24997 10.2334 2.29598 9.78102C2.34415 9.30755 2.44886 8.86818 2.71346 8.47218C2.91409 8.17191 3.17191 7.9141 3.47218 7.71346C3.86818 7.44886 4.30755 7.34415 4.78102 7.29599C5.18483 7.25491 5.67343 7.25051 6.25 7.25005L6.25 5.94801C6.24997 5.04953 6.24995 4.30031 6.32991 3.70552C6.41432 3.07773 6.59999 2.51093 7.05546 2.05546C7.51093 1.59999 8.07773 1.41432 8.70552 1.32991C9.3003 1.24995 10.0495 1.24997 10.948 1.25ZM6.25 8.7501C5.66741 8.75075 5.25586 8.75542 4.93283 8.78828C4.57796 8.82438 4.41399 8.8882 4.30554 8.96067C4.16905 9.05186 4.05186 9.16905 3.96066 9.30554C3.8882 9.41399 3.82438 9.57796 3.78828 9.93283C3.75091 10.3002 3.75 10.7822 3.75 11.5V21.25H6.25V8.7501ZM7.75 21.25H11.25V19C11.25 18.5858 11.5858 18.25 12 18.25C12.4142 18.25 12.75 18.5858 12.75 19V21.25H16.25V6C16.25 5.03599 16.2484 4.38843 16.1835 3.90539C16.1214 3.44393 16.0142 3.24644 15.8839 3.11612C15.7536 2.9858 15.5561 2.87858 15.0946 2.81654C14.6116 2.7516 13.964 2.75 13 2.75H11C10.036 2.75 9.38843 2.7516 8.90539 2.81654C8.44393 2.87858 8.24643 2.9858 8.11612 3.11612C7.9858 3.24644 7.87858 3.44393 7.81654 3.90539C7.75159 4.38843 7.75 5.03599 7.75 6V21.25ZM17.75 21.25H20.25V11.5C20.25 10.7822 20.2491 10.3002 20.2117 9.93283C20.1756 9.57796 20.1118 9.41399 20.0393 9.30554C19.9481 9.16905 19.8309 9.05186 19.6945 8.96067C19.586 8.8882 19.422 8.82438 19.0672 8.78828C18.7441 8.75542 18.3326 8.75075 17.75 8.7501V21.25ZM9.25 5C9.25 4.58579 9.58579 4.25 10 4.25H14C14.4142 4.25 14.75 4.58579 14.75 5C14.75 5.41422 14.4142 5.75 14 5.75H10C9.58579 5.75 9.25 5.41422 9.25 5ZM9.25 8C9.25 7.58579 9.58579 7.25 10 7.25H14C14.4142 7.25 14.75 7.58579 14.75 8C14.75 8.41422 14.4142 8.75 14 8.75H10C9.58579 8.75 9.25 8.41422 9.25 8ZM9.25 11C9.25 10.5858 9.58579 10.25 10 10.25H14C14.4142 10.25 14.75 10.5858 14.75 11C14.75 11.4142 14.4142 11.75 14 11.75H10C9.58579 11.75 9.25 11.4142 9.25 11ZM9.25 14C9.25 13.5858 9.58579 13.25 10 13.25H14C14.4142 13.25 14.75 13.5858 14.75 14C14.75 14.4142 14.4142 14.75 14 14.75H10C9.58579 14.75 9.25 14.4142 9.25 14Z" clip-rule="evenodd"/></svg>How to use the Buildings 2 Outline icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:buildings-2-outline" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:buildings-2-outline" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:buildings-2-outline" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--buildings-2-outline]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:buildings-2-outline"></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-outline"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/buildings-2-outline.svg" alt="Buildings 2 Outline icon" width="24" height="24">Related icons in Solar
Buildings 2 Outline icon FAQ
Is the Buildings 2 Outline 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 Outline icon in React?
Install @iconify/react and render <Icon icon="solar:buildings-2-outline" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Buildings 2 Outline icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/buildings-2-outline.svg" alt="Buildings 2 Outline icon">, or paste the SVG code inline to style it with CSS.