building icon
building from Unicons by Iconscout · Line · User Interface · Apache-2.0 Free for personal and commercial use.
- Name
- building
- Set
- Unicons
- Style
- Line
- Category
- User Interface
- Viewbox
- 24×24
- License
- Apache 2.0
The same icon in other sets
buildingBootstrap IconsbuildingBoxIcons v2buildingBoxIcons v2 SolidbuildingCarbonbuildingFramework7 IconsbuildingFont Awesome 6 RegularbuildingFont Awesome 6 SolidbuildingFont Awesome RegularbuildingFont Awesome Solidbuilding-outlineFlowbite Iconsbuilding-16-filledFluent UI System Iconsbuilding-16Fluent UI System Color IconsbuildingHuge IconsbuildingHumbleiconsbuildingIconoirbuildingJam IconsbuildingLine AwesomebuildingLucidebuildingMyna UI IconsbuildingPhosphorbuildingPixelarticonsbuildingPrime Iconsbuilding-fillRemix IconbuildingTabler Icons
More user interface icons from Unicons
Use the building icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M14 8h1a1 1 0 0 0 0-2h-1a1 1 0 0 0 0 2m0 4h1a1 1 0 0 0 0-2h-1a1 1 0 0 0 0 2M9 8h1a1 1 0 0 0 0-2H9a1 1 0 0 0 0 2m0 4h1a1 1 0 0 0 0-2H9a1 1 0 0 0 0 2m12 8h-1V3a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v17H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2m-8 0h-2v-4h2Zm5 0h-3v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5H6V4h12Z"/></svg>
React
import type { SVGProps } from "react";
export function UilBuilding(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M14 8h1a1 1 0 0 0 0-2h-1a1 1 0 0 0 0 2m0 4h1a1 1 0 0 0 0-2h-1a1 1 0 0 0 0 2M9 8h1a1 1 0 0 0 0-2H9a1 1 0 0 0 0 2m0 4h1a1 1 0 0 0 0-2H9a1 1 0 0 0 0 2m12 8h-1V3a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v17H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2m-8 0h-2v-4h2Zm5 0h-3v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5H6V4h12Z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M14 8h1a1 1 0 0 0 0-2h-1a1 1 0 0 0 0 2m0 4h1a1 1 0 0 0 0-2h-1a1 1 0 0 0 0 2M9 8h1a1 1 0 0 0 0-2H9a1 1 0 0 0 0 2m0 4h1a1 1 0 0 0 0-2H9a1 1 0 0 0 0 2m12 8h-1V3a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v17H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2m-8 0h-2v-4h2Zm5 0h-3v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5H6V4h12Z"/></svg> </template>
CSS
.icon-building {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%208h1a1%201%200%200%200%200-2h-1a1%201%200%200%200%200%202m0%204h1a1%201%200%200%200%200-2h-1a1%201%200%200%200%200%202M9%208h1a1%201%200%200%200%200-2H9a1%201%200%200%200%200%202m0%204h1a1%201%200%200%200%200-2H9a1%201%200%200%200%200%202m12%208h-1V3a1%201%200%200%200-1-1H5a1%201%200%200%200-1%201v17H3a1%201%200%200%200%200%202h18a1%201%200%200%200%200-2m-8%200h-2v-4h2Zm5%200h-3v-5a1%201%200%200%200-1-1h-4a1%201%200%200%200-1%201v5H6V4h12Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%208h1a1%201%200%200%200%200-2h-1a1%201%200%200%200%200%202m0%204h1a1%201%200%200%200%200-2h-1a1%201%200%200%200%200%202M9%208h1a1%201%200%200%200%200-2H9a1%201%200%200%200%200%202m0%204h1a1%201%200%200%200%200-2H9a1%201%200%200%200%200%202m12%208h-1V3a1%201%200%200%200-1-1H5a1%201%200%200%200-1%201v17H3a1%201%200%200%200%200%202h18a1%201%200%200%200%200-2m-8%200h-2v-4h2Zm5%200h-3v-5a1%201%200%200%200-1-1h-4a1%201%200%200%200-1%201v5H6V4h12Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/uil/building.svg?color=%231a73e8&size=48