Buildings Icon
buildings · Bulding Infrastructure · 6 styles
Filed under Bulding Infrastructure, the Buildings icon is part of the Solar Icons Angular package. It is one of 7 glyphs in that category and one of 1,246 icons in the library overall, each drawn on the same 24x24 grid so Buildings lines up optically with everything around it. The icon is addressed in templates by the string "buildings", and every style variant resolves from that single name.
Users read the shape as the idea of buildings, city blocks and physical infrastructure. That places Buildings in the Bulding Infrastructure family, which covers buildings, city blocks and physical infrastructure and turns up in address forms, office pickers, real-estate cards and company profiles. Teams building B2B apps that model organisations and locations reach for this set first. Use Buildings where the label alone would be ambiguous — an icon-only button, a dense table row, a mobile tab bar — and keep an accessible name on the control, because the SVG itself is decorative.
Buildings in 6 styles
Buildings is drawn in 6 style variants: Bold, Bold Duotone, Linear, Outline, Broken and Line Duotone. Bold gives you solid filled shapes that hold their weight at 16px and read clearly against coloured backgrounds. Bold Duotone gives you a filled body with a second, lower-opacity layer that adds depth without a second colour token. Linear gives you even 1.5px strokes, the neutral default for dense interfaces and toolbars. A common pairing is Bold for the selected state and Line Duotone for the rest, so the active item reads without a colour change.
BuildingsBoldBuildingsBoldDuotoneBuildingsLinearBuildingsOutlineBuildingsBrokenBuildingsLineDuotoneHow to use the buildings icon in Angular
Because each export is a separate binding, unused variants are dropped by the bundler. Import BuildingsBold from the "@rchernando/solar-icons/bulding-infrastructure" entry point, hand it to provideSolarIcons in your application config or in a route-level providers array, and render it with the solar-icon component. All 6 exports for buildings live in that same entry point, so switching style is a one-line change.
import { BuildingsBold, BuildingsBoldDuotone, BuildingsLinear, BuildingsOutline, BuildingsBroken, BuildingsLineDuotone } from '@rchernando/solar-icons/bulding-infrastructure';import { ApplicationConfig } from '@angular/core';
import { provideSolarIcons } from '@rchernando/solar-icons';
import { BuildingsBold } from '@rchernando/solar-icons/bulding-infrastructure';
export const appConfig: ApplicationConfig = {
providers: [provideSolarIcons(BuildingsBold)]
};<solar-icon name="buildings" iconStyle="bold" size="24px" />
<solar-icon name="buildings" iconStyle="bold-duotone" size="24px" />
<solar-icon name="buildings" iconStyle="linear" size="24px" />
<solar-icon name="buildings" iconStyle="outline" size="24px" />
<solar-icon name="buildings" iconStyle="broken" size="24px" />
<solar-icon name="buildings" iconStyle="line-duotone" size="24px" />More Bulding Infrastructure icons
Icons drawn alongside it in Bulding Infrastructure include Buildings2, Buildings3, City, Garage, Home and Hospital. They share stroke weight and corner radius with Buildings, so mixing them in one toolbar stays consistent.
Browse all Bulding Infrastructure icons →Icons related to Buildings
If Buildings is not quite the shape you want, Buildings2 and Buildings3 share part of its name and often work as substitutes.
Elsewhere in the library
Elsewhere in the library, Undo Left, Call Cancel, Flip Vertical, Mirror Left, Shock Absorber and User Speak cover neighbouring ideas; the name "buildings" is 9 characters long and splits into 1 token, which is how the explorer's search matches it.
Buildings icon FAQ
- How do I use the buildings icon in Angular?
- Import BuildingsBold from "@rchernando/solar-icons/bulding-infrastructure", register it with provideSolarIcons(BuildingsBold) and render <solar-icon name="buildings" iconStyle="bold" />. No HTTP request is made — the SVG is inlined at build time.
- Which styles does Buildings support?
- 6 of them: Bold, Bold Duotone, Linear, Outline, Broken and Line Duotone. Each is a separate export, so you only ship the ones you import.
- Can I change the size and colour of buildings?
- Yes. The size input accepts any CSS length and the SVG uses currentColor, so Buildings inherits the text colour of its container — a Tailwind class such as text-violet-400 is enough.
One of 1,246 icons in the Solar Icons explorer. See also the installation guide and the styling reference.