# door icon

Door. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/door

- Category: Home & household
- Use it for: door, entrance, room, closed door, door closed, main entrance, way in, meeting room, conference room, rooms
- Tags: door, entrance, room, entry, doorway, closed, exit, enter, meeting-room, home
- Family: door-lock, door-open, door-plus, door-unlock
- Component name: DoorIcon
- Added: 2026-10-15

## Alternatives

- `door-open`: an open door or doorway
- `wheelchair`: an accessible entrance
- `bed`: a hotel room or room type in a booking
- `door-plus`: add a room
- `breakout-rooms`: breakout rooms in a video call

## Don't confuse with

- `log-in`: log-in is signing in to an account, not a building entrance

## Also fits

- open door: the closed door
- enter: the entrance of a building or room (door owns entrance)
- exit: the exit of a building or room

## 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/door.svg · PNG https://gentleface.com/png/line-round/16/door.png · https://gentleface.com/png/line-round/32/door.png · https://gentleface.com/png/line-round/48/door.png
- line-soft: https://gentleface.com/svg/line-soft/16/door.svg · PNG https://gentleface.com/png/line-soft/16/door.png · https://gentleface.com/png/line-soft/32/door.png · https://gentleface.com/png/line-soft/48/door.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/door.svg · PNG https://gentleface.com/png/line-sharp/16/door.png · https://gentleface.com/png/line-sharp/32/door.png · https://gentleface.com/png/line-sharp/48/door.png
- solid-round: https://gentleface.com/svg/solid-round/16/door.svg · PNG https://gentleface.com/png/solid-round/16/door.png · https://gentleface.com/png/solid-round/32/door.png · https://gentleface.com/png/solid-round/48/door.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/door.svg · PNG https://gentleface.com/png/solid-soft/16/door.png · https://gentleface.com/png/solid-soft/32/door.png · https://gentleface.com/png/solid-soft/48/door.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/door.svg · PNG https://gentleface.com/png/solid-sharp/16/door.png · https://gentleface.com/png/solid-sharp/32/door.png · https://gentleface.com/png/solid-sharp/48/door.png

The SVG of every style: https://gentleface.com/icons/door.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="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z"/></svg>
```

### React

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

export function DoorIcon(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="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door -->
<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="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door -->
<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="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door. 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/door.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door. Takes the text color. */
.icon-door {
  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='M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z'/%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='M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z'/%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='M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door
     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#door"/></svg>
```

### SwiftUI

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

struct DoorIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 3.14, y: 2.264))
        p.addCurve(to: CGPoint(x: 3.586, y: 1.586), control1: CGPoint(x: 3.242, y: 2.007), control2: CGPoint(x: 3.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 4.264, y: 1.14), control1: CGPoint(x: 3.781, y: 1.391), control2: CGPoint(x: 4.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 5, y: 1), control1: CGPoint(x: 4.5, y: 1.047), control2: CGPoint(x: 4.746, y: 1))
        p.addLine(to: CGPoint(x: 11, y: 1))
        p.addCurve(to: CGPoint(x: 11.736, y: 1.14), control1: CGPoint(x: 11.254, y: 1), control2: CGPoint(x: 11.5, y: 1.047))
        p.addCurve(to: CGPoint(x: 12.414, y: 1.586), control1: CGPoint(x: 11.993, y: 1.242), control2: CGPoint(x: 12.219, y: 1.391))
        p.addCurve(to: CGPoint(x: 12.86, y: 2.264), control1: CGPoint(x: 12.609, y: 1.781), control2: CGPoint(x: 12.758, y: 2.007))
        p.addCurve(to: CGPoint(x: 13, y: 3), control1: CGPoint(x: 12.953, y: 2.5), control2: CGPoint(x: 13, y: 2.746))
        p.addLine(to: CGPoint(x: 13, y: 14))
        p.addLine(to: CGPoint(x: 14.5, y: 14))
        p.addCurve(to: CGPoint(x: 14.856, y: 14.144), control1: CGPoint(x: 14.641, y: 14), control2: CGPoint(x: 14.759, y: 14.048))
        p.addCurve(to: CGPoint(x: 15, y: 14.5), control1: CGPoint(x: 14.952, y: 14.241), control2: CGPoint(x: 15, y: 14.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 14.856), control1: CGPoint(x: 15, y: 14.641), control2: CGPoint(x: 14.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 15), control1: CGPoint(x: 14.759, y: 14.952), control2: CGPoint(x: 14.641, y: 15))
        p.addLine(to: CGPoint(x: 1.5, y: 15))
        p.addCurve(to: CGPoint(x: 1.144, y: 14.856), control1: CGPoint(x: 1.359, y: 15), control2: CGPoint(x: 1.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 1, y: 14.5), control1: CGPoint(x: 1.048, y: 14.759), control2: CGPoint(x: 1, y: 14.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 14.144), control1: CGPoint(x: 1, y: 14.359), control2: CGPoint(x: 1.048, y: 14.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 14), control1: CGPoint(x: 1.241, y: 14.048), control2: CGPoint(x: 1.359, y: 14))
        p.addLine(to: CGPoint(x: 3, y: 14))
        p.addLine(to: CGPoint(x: 3, y: 3))
        p.addCurve(to: CGPoint(x: 3.14, y: 2.264), control1: CGPoint(x: 3, y: 2.746), control2: CGPoint(x: 3.047, y: 2.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 3))
        p.addCurve(to: CGPoint(x: 11.707, y: 2.293), control1: CGPoint(x: 12, y: 2.724), control2: CGPoint(x: 11.902, y: 2.488))
        p.addCurve(to: CGPoint(x: 11, y: 2), control1: CGPoint(x: 11.512, y: 2.098), control2: CGPoint(x: 11.276, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addCurve(to: CGPoint(x: 4.293, y: 2.293), control1: CGPoint(x: 4.724, y: 2), control2: CGPoint(x: 4.488, y: 2.098))
        p.addCurve(to: CGPoint(x: 4, y: 3), control1: CGPoint(x: 4.098, y: 2.488), control2: CGPoint(x: 4, y: 2.724))
        p.addLine(to: CGPoint(x: 4, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 3))
        p.closeSubpath()
        p.move(to: CGPoint(x: 10.707, y: 7.293))
        p.addCurve(to: CGPoint(x: 11, y: 8), control1: CGPoint(x: 10.902, y: 7.488), control2: CGPoint(x: 11, y: 7.724))
        p.addCurve(to: CGPoint(x: 10.707, y: 8.707), control1: CGPoint(x: 11, y: 8.276), control2: CGPoint(x: 10.902, y: 8.512))
        p.addCurve(to: CGPoint(x: 10, y: 9), control1: CGPoint(x: 10.512, y: 8.902), control2: CGPoint(x: 10.276, y: 9))
        p.addCurve(to: CGPoint(x: 9.293, y: 8.707), control1: CGPoint(x: 9.724, y: 9), control2: CGPoint(x: 9.488, y: 8.902))
        p.addCurve(to: CGPoint(x: 9, y: 8), control1: CGPoint(x: 9.098, y: 8.512), control2: CGPoint(x: 9, y: 8.276))
        p.addCurve(to: CGPoint(x: 9.293, y: 7.293), control1: CGPoint(x: 9, y: 7.724), control2: CGPoint(x: 9.098, y: 7.488))
        p.addCurve(to: CGPoint(x: 10, y: 7), control1: CGPoint(x: 9.488, y: 7.098), control2: CGPoint(x: 9.724, y: 7))
        p.addCurve(to: CGPoint(x: 10.707, y: 7.293), control1: CGPoint(x: 10.276, y: 7), control2: CGPoint(x: 10.512, y: 7.098))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door
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 DoorIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "door", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_door.xml · Gentleface "door" (line-round), MIT. https://gentleface.com/icons/door -->
<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="M3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 14L14.5 14C14.641 14 14.759 14.048 14.856 14.144C14.952 14.241 15 14.359 15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3 14L3 3C3 2.746 3.047 2.5 3.14 2.264ZM12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 14L12 14L12 3ZM10.707 7.293C10.902 7.488 11 7.724 11 8C11 8.276 10.902 8.512 10.707 8.707C10.512 8.902 10.276 9 10 9C9.724 9 9.488 8.902 9.293 8.707C9.098 8.512 9 8.276 9 8C9 7.724 9.098 7.488 9.293 7.293C9.488 7.098 9.724 7 10 7C10.276 7 10.512 7.098 10.707 7.293Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(3.14, 2.264)
      ..cubicTo(3.242, 2.007, 3.391, 1.781, 3.586, 1.586)
      ..cubicTo(3.781, 1.391, 4.007, 1.242, 4.264, 1.14)
      ..cubicTo(4.5, 1.047, 4.746, 1, 5, 1)
      ..lineTo(11, 1)
      ..cubicTo(11.254, 1, 11.5, 1.047, 11.736, 1.14)
      ..cubicTo(11.993, 1.242, 12.219, 1.391, 12.414, 1.586)
      ..cubicTo(12.609, 1.781, 12.758, 2.007, 12.86, 2.264)
      ..cubicTo(12.953, 2.5, 13, 2.746, 13, 3)
      ..lineTo(13, 14)
      ..lineTo(14.5, 14)
      ..cubicTo(14.641, 14, 14.759, 14.048, 14.856, 14.144)
      ..cubicTo(14.952, 14.241, 15, 14.359, 15, 14.5)
      ..cubicTo(15, 14.641, 14.952, 14.759, 14.856, 14.856)
      ..cubicTo(14.759, 14.952, 14.641, 15, 14.5, 15)
      ..lineTo(1.5, 15)
      ..cubicTo(1.359, 15, 1.241, 14.952, 1.144, 14.856)
      ..cubicTo(1.048, 14.759, 1, 14.641, 1, 14.5)
      ..cubicTo(1, 14.359, 1.048, 14.241, 1.144, 14.144)
      ..cubicTo(1.241, 14.048, 1.359, 14, 1.5, 14)
      ..lineTo(3, 14)
      ..lineTo(3, 3)
      ..cubicTo(3, 2.746, 3.047, 2.5, 3.14, 2.264)
      ..close()
      ..moveTo(12, 3)
      ..cubicTo(12, 2.724, 11.902, 2.488, 11.707, 2.293)
      ..cubicTo(11.512, 2.098, 11.276, 2, 11, 2)
      ..lineTo(5, 2)
      ..cubicTo(4.724, 2, 4.488, 2.098, 4.293, 2.293)
      ..cubicTo(4.098, 2.488, 4, 2.724, 4, 3)
      ..lineTo(4, 14)
      ..lineTo(12, 14)
      ..lineTo(12, 3)
      ..close()
      ..moveTo(10.707, 7.293)
      ..cubicTo(10.902, 7.488, 11, 7.724, 11, 8)
      ..cubicTo(11, 8.276, 10.902, 8.512, 10.707, 8.707)
      ..cubicTo(10.512, 8.902, 10.276, 9, 10, 9)
      ..cubicTo(9.724, 9, 9.488, 8.902, 9.293, 8.707)
      ..cubicTo(9.098, 8.512, 9, 8.276, 9, 8)
      ..cubicTo(9, 7.724, 9.098, 7.488, 9.293, 7.293)
      ..cubicTo(9.488, 7.098, 9.724, 7, 10, 7)
      ..cubicTo(10.276, 7, 10.512, 7.098, 10.707, 7.293)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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