- Category
- general
- Styles
- Outline
- Component
- IconDoor
- License
- MIT · Paweł Kuna
- Files
-
outline/door.svg
Door icon
Download the Door icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- entrance
- entry
- room
- home
- house
- doorway
- access
Size
Stroke
Color
Code
Copy it the way you use it
door.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M14 12v.01" />
<path d="M3 21h18" />
<path d="M6 21v-16a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v16" />
</svg> Use the Door icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconDoor } from '@tabler/icons-react';
<IconDoor size={24} stroke={2} />Read the React guideVue example
import { IconDoor } from '@tabler/icons-vue';
<IconDoor :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconDoor } from '@tabler/icons-svelte-runes';
<IconDoor size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related