# building-apartment icon

Building apartment. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/building-apartment

- Category: Buildings
- Use it for: apartment, apartment building, residential building, flat, condo, apartments
- Tags: apartment, apartment-building, residential-building, flat, flats, condo, condominium, block, housing, residence, real-estate, rental
- Family: building, building-gear, building-pencil, building-plus, building-search, buildings
- Component name: BuildingApartmentIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { BuildingApartmentIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## Alternatives

- `home`: a house
- `houses`: a neighborhood or housing area

## Don't confuse with

- `building`: an office or company, not a residence

## Also fits

- building: an apartment or residential building
- house: an apartment
- hotel: an apartment

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/building-apartment.svg · PNG https://gentleface.com/png/line-round/16/building-apartment.png · https://gentleface.com/png/line-round/32/building-apartment.png · https://gentleface.com/png/line-round/48/building-apartment.png
- line-soft: https://gentleface.com/svg/line-soft/16/building-apartment.svg · PNG https://gentleface.com/png/line-soft/16/building-apartment.png · https://gentleface.com/png/line-soft/32/building-apartment.png · https://gentleface.com/png/line-soft/48/building-apartment.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/building-apartment.svg · PNG https://gentleface.com/png/line-sharp/16/building-apartment.png · https://gentleface.com/png/line-sharp/32/building-apartment.png · https://gentleface.com/png/line-sharp/48/building-apartment.png
- solid-round: https://gentleface.com/svg/solid-round/16/building-apartment.svg · PNG https://gentleface.com/png/solid-round/16/building-apartment.png · https://gentleface.com/png/solid-round/32/building-apartment.png · https://gentleface.com/png/solid-round/48/building-apartment.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/building-apartment.svg · PNG https://gentleface.com/png/solid-soft/16/building-apartment.png · https://gentleface.com/png/solid-soft/32/building-apartment.png · https://gentleface.com/png/solid-soft/48/building-apartment.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/building-apartment.svg · PNG https://gentleface.com/png/solid-sharp/16/building-apartment.png · https://gentleface.com/png/solid-sharp/32/building-apartment.png · https://gentleface.com/png/solid-sharp/48/building-apartment.png

The SVG of every style: https://gentleface.com/icons/building-apartment.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z"/></svg>
```

### React

```tsx
// Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment
import type { SVGProps } from 'react';

export function BuildingApartmentIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/building-apartment.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment. Takes the text color. */
.icon-building-apartment {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#building-apartment"/></svg>
```

### SwiftUI

```swift
// Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment
import SwiftUI

struct BuildingApartmentIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4, y: 2))
        p.addCurve(to: CGPoint(x: 4.293, y: 1.293), control1: CGPoint(x: 4, y: 1.724), control2: CGPoint(x: 4.098, y: 1.488))
        p.addCurve(to: CGPoint(x: 5, y: 1), control1: CGPoint(x: 4.488, y: 1.098), control2: CGPoint(x: 4.724, y: 1))
        p.addLine(to: CGPoint(x: 11, y: 1))
        p.addCurve(to: CGPoint(x: 11.707, y: 1.293), control1: CGPoint(x: 11.276, y: 1), control2: CGPoint(x: 11.512, y: 1.098))
        p.addCurve(to: CGPoint(x: 12, y: 2), control1: CGPoint(x: 11.902, y: 1.488), control2: CGPoint(x: 12, y: 1.724))
        p.addLine(to: CGPoint(x: 12, y: 6))
        p.addLine(to: CGPoint(x: 14, y: 6))
        p.addCurve(to: CGPoint(x: 14.707, y: 6.293), control1: CGPoint(x: 14.276, y: 6), control2: CGPoint(x: 14.512, y: 6.098))
        p.addCurve(to: CGPoint(x: 15, y: 7), control1: CGPoint(x: 14.902, y: 6.488), control2: CGPoint(x: 15, y: 6.724))
        p.addLine(to: CGPoint(x: 15, y: 14))
        p.addCurve(to: CGPoint(x: 14.707, y: 14.707), control1: CGPoint(x: 15, y: 14.276), control2: CGPoint(x: 14.902, y: 14.512))
        p.addCurve(to: CGPoint(x: 14, y: 15), control1: CGPoint(x: 14.512, y: 14.902), control2: CGPoint(x: 14.276, y: 15))
        p.addLine(to: CGPoint(x: 10, y: 15))
        p.addCurve(to: CGPoint(x: 9.293, y: 14.707), control1: CGPoint(x: 9.724, y: 15), control2: CGPoint(x: 9.488, y: 14.902))
        p.addCurve(to: CGPoint(x: 9, y: 14), control1: CGPoint(x: 9.098, y: 14.512), control2: CGPoint(x: 9, y: 14.276))
        p.addLine(to: CGPoint(x: 9, y: 12))
        p.addLine(to: CGPoint(x: 7, y: 12))
        p.addLine(to: CGPoint(x: 7, y: 14))
        p.addCurve(to: CGPoint(x: 6.707, y: 14.707), control1: CGPoint(x: 7, y: 14.276), control2: CGPoint(x: 6.902, y: 14.512))
        p.addCurve(to: CGPoint(x: 6, y: 15), control1: CGPoint(x: 6.512, y: 14.902), control2: CGPoint(x: 6.276, y: 15))
        p.addLine(to: CGPoint(x: 2, y: 15))
        p.addCurve(to: CGPoint(x: 1.293, y: 14.707), control1: CGPoint(x: 1.724, y: 15), control2: CGPoint(x: 1.488, y: 14.902))
        p.addCurve(to: CGPoint(x: 1, y: 14), control1: CGPoint(x: 1.098, y: 14.512), control2: CGPoint(x: 1, y: 14.276))
        p.addLine(to: CGPoint(x: 1, y: 7))
        p.addCurve(to: CGPoint(x: 1.293, y: 6.293), control1: CGPoint(x: 1, y: 6.724), control2: CGPoint(x: 1.098, y: 6.488))
        p.addCurve(to: CGPoint(x: 2, y: 6), control1: CGPoint(x: 1.488, y: 6.098), control2: CGPoint(x: 1.724, y: 6))
        p.addLine(to: CGPoint(x: 4, y: 6))
        p.addLine(to: CGPoint(x: 4, y: 2))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6, y: 14))
        p.addLine(to: CGPoint(x: 6, y: 12))
        p.addCurve(to: CGPoint(x: 6.293, y: 11.293), control1: CGPoint(x: 6, y: 11.724), control2: CGPoint(x: 6.098, y: 11.488))
        p.addCurve(to: CGPoint(x: 7, y: 11), control1: CGPoint(x: 6.488, y: 11.098), control2: CGPoint(x: 6.724, y: 11))
        p.addLine(to: CGPoint(x: 9, y: 11))
        p.addCurve(to: CGPoint(x: 9.707, y: 11.293), control1: CGPoint(x: 9.276, y: 11), control2: CGPoint(x: 9.512, y: 11.098))
        p.addCurve(to: CGPoint(x: 10, y: 12), control1: CGPoint(x: 9.902, y: 11.488), control2: CGPoint(x: 10, y: 11.724))
        p.addLine(to: CGPoint(x: 10, y: 14))
        p.addLine(to: CGPoint(x: 11, y: 14))
        p.addLine(to: CGPoint(x: 11, y: 6.818))
        p.addCurve(to: CGPoint(x: 11.131, y: 6.5), control1: CGPoint(x: 11, y: 6.699), control2: CGPoint(x: 11.047, y: 6.584))
        p.addCurve(to: CGPoint(x: 11, y: 6), control1: CGPoint(x: 11.044, y: 6.351), control2: CGPoint(x: 11, y: 6.185))
        p.addLine(to: CGPoint(x: 11, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 6))
        p.addCurve(to: CGPoint(x: 4.869, y: 6.5), control1: CGPoint(x: 5, y: 6.185), control2: CGPoint(x: 4.956, y: 6.351))
        p.addCurve(to: CGPoint(x: 5, y: 6.818), control1: CGPoint(x: 4.953, y: 6.584), control2: CGPoint(x: 5, y: 6.699))
        p.addLine(to: CGPoint(x: 5, y: 14))
        p.addLine(to: CGPoint(x: 6, y: 14))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.144, y: 4.856))
        p.addCurve(to: CGPoint(x: 6, y: 4.5), control1: CGPoint(x: 6.048, y: 4.759), control2: CGPoint(x: 6, y: 4.641))
        p.addCurve(to: CGPoint(x: 6.144, y: 4.144), control1: CGPoint(x: 6, y: 4.359), control2: CGPoint(x: 6.048, y: 4.241))
        p.addCurve(to: CGPoint(x: 6.5, y: 4), control1: CGPoint(x: 6.241, y: 4.048), control2: CGPoint(x: 6.359, y: 4))
        p.addLine(to: CGPoint(x: 9.5, y: 4))
        p.addCurve(to: CGPoint(x: 9.856, y: 4.144), control1: CGPoint(x: 9.641, y: 4), control2: CGPoint(x: 9.759, y: 4.048))
        p.addCurve(to: CGPoint(x: 10, y: 4.5), control1: CGPoint(x: 9.952, y: 4.241), control2: CGPoint(x: 10, y: 4.359))
        p.addCurve(to: CGPoint(x: 9.856, y: 4.856), control1: CGPoint(x: 10, y: 4.641), control2: CGPoint(x: 9.952, y: 4.759))
        p.addCurve(to: CGPoint(x: 9.5, y: 5), control1: CGPoint(x: 9.759, y: 4.952), control2: CGPoint(x: 9.641, y: 5))
        p.addLine(to: CGPoint(x: 6.5, y: 5))
        p.addCurve(to: CGPoint(x: 6.144, y: 4.856), control1: CGPoint(x: 6.359, y: 5), control2: CGPoint(x: 6.241, y: 4.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 7))
        p.addLine(to: CGPoint(x: 2, y: 7))
        p.addLine(to: CGPoint(x: 2, y: 14))
        p.addLine(to: CGPoint(x: 4, y: 14))
        p.addLine(to: CGPoint(x: 4, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.144, y: 7.856))
        p.addCurve(to: CGPoint(x: 6, y: 7.5), control1: CGPoint(x: 6.048, y: 7.759), control2: CGPoint(x: 6, y: 7.641))
        p.addCurve(to: CGPoint(x: 6.144, y: 7.144), control1: CGPoint(x: 6, y: 7.359), control2: CGPoint(x: 6.048, y: 7.241))
        p.addCurve(to: CGPoint(x: 6.5, y: 7), control1: CGPoint(x: 6.241, y: 7.048), control2: CGPoint(x: 6.359, y: 7))
        p.addLine(to: CGPoint(x: 9.5, y: 7))
        p.addCurve(to: CGPoint(x: 9.856, y: 7.144), control1: CGPoint(x: 9.641, y: 7), control2: CGPoint(x: 9.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 10, y: 7.5), control1: CGPoint(x: 9.952, y: 7.241), control2: CGPoint(x: 10, y: 7.359))
        p.addCurve(to: CGPoint(x: 9.856, y: 7.856), control1: CGPoint(x: 10, y: 7.641), control2: CGPoint(x: 9.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 9.5, y: 8), control1: CGPoint(x: 9.759, y: 7.952), control2: CGPoint(x: 9.641, y: 8))
        p.addLine(to: CGPoint(x: 6.5, y: 8))
        p.addCurve(to: CGPoint(x: 6.144, y: 7.856), control1: CGPoint(x: 6.359, y: 8), control2: CGPoint(x: 6.241, y: 7.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14, y: 7))
        p.addLine(to: CGPoint(x: 12, y: 7))
        p.addLine(to: CGPoint(x: 12, y: 14))
        p.addLine(to: CGPoint(x: 14, y: 14))
        p.addLine(to: CGPoint(x: 14, y: 7))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// BuildingApartmentIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val BuildingApartmentIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "building-apartment", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(BuildingApartmentIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_building_apartment.xml · Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M4 2C4 1.724 4.098 1.488 4.293 1.293C4.488 1.098 4.724 1 5 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 6L14 6C14.276 6 14.512 6.098 14.707 6.293C14.902 6.488 15 6.724 15 7L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L10 15C9.724 15 9.488 14.902 9.293 14.707C9.098 14.512 9 14.276 9 14L9 12L7 12L7 14C7 14.276 6.902 14.512 6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 7C1 6.724 1.098 6.488 1.293 6.293C1.488 6.098 1.724 6 2 6L4 6L4 2ZM6 14L6 12C6 11.724 6.098 11.488 6.293 11.293C6.488 11.098 6.724 11 7 11L9 11C9.276 11 9.512 11.098 9.707 11.293C9.902 11.488 10 11.724 10 12L10 14L11 14L11 6.818C11 6.699 11.047 6.584 11.131 6.5C11.044 6.351 11 6.185 11 6L11 2L5 2L5 6C5 6.185 4.956 6.351 4.869 6.5C4.953 6.584 5 6.699 5 6.818L5 14L6 14ZM6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5C10 4.641 9.952 4.759 9.856 4.856C9.759 4.952 9.641 5 9.5 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM4 7L2 7L2 14L4 14L4 7ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L9.5 7C9.641 7 9.759 7.048 9.856 7.144C9.952 7.241 10 7.359 10 7.5C10 7.641 9.952 7.759 9.856 7.856C9.759 7.952 9.641 8 9.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM14 7L12 7L12 14L14 14L14 7Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "building-apartment" (line-round), MIT. https://gentleface.com/icons/building-apartment
import 'package:flutter/widgets.dart';

class BuildingApartmentIcon extends StatelessWidget {
  const BuildingApartmentIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _BuildingApartmentIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _BuildingApartmentIconPainter extends CustomPainter {
  _BuildingApartmentIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4, 2)
      ..cubicTo(4, 1.724, 4.098, 1.488, 4.293, 1.293)
      ..cubicTo(4.488, 1.098, 4.724, 1, 5, 1)
      ..lineTo(11, 1)
      ..cubicTo(11.276, 1, 11.512, 1.098, 11.707, 1.293)
      ..cubicTo(11.902, 1.488, 12, 1.724, 12, 2)
      ..lineTo(12, 6)
      ..lineTo(14, 6)
      ..cubicTo(14.276, 6, 14.512, 6.098, 14.707, 6.293)
      ..cubicTo(14.902, 6.488, 15, 6.724, 15, 7)
      ..lineTo(15, 14)
      ..cubicTo(15, 14.276, 14.902, 14.512, 14.707, 14.707)
      ..cubicTo(14.512, 14.902, 14.276, 15, 14, 15)
      ..lineTo(10, 15)
      ..cubicTo(9.724, 15, 9.488, 14.902, 9.293, 14.707)
      ..cubicTo(9.098, 14.512, 9, 14.276, 9, 14)
      ..lineTo(9, 12)
      ..lineTo(7, 12)
      ..lineTo(7, 14)
      ..cubicTo(7, 14.276, 6.902, 14.512, 6.707, 14.707)
      ..cubicTo(6.512, 14.902, 6.276, 15, 6, 15)
      ..lineTo(2, 15)
      ..cubicTo(1.724, 15, 1.488, 14.902, 1.293, 14.707)
      ..cubicTo(1.098, 14.512, 1, 14.276, 1, 14)
      ..lineTo(1, 7)
      ..cubicTo(1, 6.724, 1.098, 6.488, 1.293, 6.293)
      ..cubicTo(1.488, 6.098, 1.724, 6, 2, 6)
      ..lineTo(4, 6)
      ..lineTo(4, 2)
      ..close()
      ..moveTo(6, 14)
      ..lineTo(6, 12)
      ..cubicTo(6, 11.724, 6.098, 11.488, 6.293, 11.293)
      ..cubicTo(6.488, 11.098, 6.724, 11, 7, 11)
      ..lineTo(9, 11)
      ..cubicTo(9.276, 11, 9.512, 11.098, 9.707, 11.293)
      ..cubicTo(9.902, 11.488, 10, 11.724, 10, 12)
      ..lineTo(10, 14)
      ..lineTo(11, 14)
      ..lineTo(11, 6.818)
      ..cubicTo(11, 6.699, 11.047, 6.584, 11.131, 6.5)
      ..cubicTo(11.044, 6.351, 11, 6.185, 11, 6)
      ..lineTo(11, 2)
      ..lineTo(5, 2)
      ..lineTo(5, 6)
      ..cubicTo(5, 6.185, 4.956, 6.351, 4.869, 6.5)
      ..cubicTo(4.953, 6.584, 5, 6.699, 5, 6.818)
      ..lineTo(5, 14)
      ..lineTo(6, 14)
      ..close()
      ..moveTo(6.144, 4.856)
      ..cubicTo(6.048, 4.759, 6, 4.641, 6, 4.5)
      ..cubicTo(6, 4.359, 6.048, 4.241, 6.144, 4.144)
      ..cubicTo(6.241, 4.048, 6.359, 4, 6.5, 4)
      ..lineTo(9.5, 4)
      ..cubicTo(9.641, 4, 9.759, 4.048, 9.856, 4.144)
      ..cubicTo(9.952, 4.241, 10, 4.359, 10, 4.5)
      ..cubicTo(10, 4.641, 9.952, 4.759, 9.856, 4.856)
      ..cubicTo(9.759, 4.952, 9.641, 5, 9.5, 5)
      ..lineTo(6.5, 5)
      ..cubicTo(6.359, 5, 6.241, 4.952, 6.144, 4.856)
      ..close()
      ..moveTo(4, 7)
      ..lineTo(2, 7)
      ..lineTo(2, 14)
      ..lineTo(4, 14)
      ..lineTo(4, 7)
      ..close()
      ..moveTo(6.144, 7.856)
      ..cubicTo(6.048, 7.759, 6, 7.641, 6, 7.5)
      ..cubicTo(6, 7.359, 6.048, 7.241, 6.144, 7.144)
      ..cubicTo(6.241, 7.048, 6.359, 7, 6.5, 7)
      ..lineTo(9.5, 7)
      ..cubicTo(9.641, 7, 9.759, 7.048, 9.856, 7.144)
      ..cubicTo(9.952, 7.241, 10, 7.359, 10, 7.5)
      ..cubicTo(10, 7.641, 9.952, 7.759, 9.856, 7.856)
      ..cubicTo(9.759, 7.952, 9.641, 8, 9.5, 8)
      ..lineTo(6.5, 8)
      ..cubicTo(6.359, 8, 6.241, 7.952, 6.144, 7.856)
      ..close()
      ..moveTo(14, 7)
      ..lineTo(12, 7)
      ..lineTo(12, 14)
      ..lineTo(14, 14)
      ..lineTo(14, 7)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_BuildingApartmentIconPainter old) => old.color != color;
}
```
