gentleface

Gentleface › Home & household › door

door icon

Door: door, entrance, room, closed door. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated door-push · line-round

The door is pushed open into the room: the leaf turns away on its left hinges, narrowing and shortening at its far edge, and the empty doorway shows behind it. It swings back, knocks the frame once and shuts.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.65 s. Examples and helper.

Code line-round

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 14L12 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 14ZM10.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
// 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 14L12 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 14ZM10.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: see /icons/door.md
Svelte
Svelte: see /icons/door.md
HTML img
HTML img: see /icons/door.md
CSS
CSS: see /icons/door.md
Data URL
Data URL: see /icons/door.md
Sprite
Sprite: see /icons/door.md
SwiftUI
SwiftUI: see /icons/door.md
Compose
Compose: see /icons/door.md
Android XML
Android XML: see /icons/door.md
Flutter
Flutter: see /icons/door.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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. More in how to use.

With npm: import { DoorIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
door, entrance, room, closed door, door closed, main entrance, way in, meeting room, conference room, rooms
Alternatives
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
Tags
door, entrance, room, entry, doorway, closed, exit, enter, meeting-room, home
Category
Home & household
Component name
DoorIcon
History
  • added
  • released in 0.1.0
  • changed in 0.2.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 10

More home & household icons

For agents

Metadata: /icons/door.json · Markdown: /icons/door.md · SVG: https://gentleface.com/svg/{style}/16/door.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/door.png