door icon
door from Akar Icons by Arturo Wibawa · Outline · MIT Free for personal and commercial use.
- Name
- door
- Set
- Akar Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
doorEmoji One (Colored)door-16-filledFluent UI System IconsdoorFluent EmojidoorFluent Emoji FlatdoorFluent Emoji High ContrastdoorFirefox OS EmojidoorHuge IconsdoorJam IconsdoorMaterial Design Iconsdoor-fillMingCute IcondoorNoto EmojidoorOpenMojidoorPhosphordoor-fillRemix IcondoorStreamline EmojisdoorTabler IconsdoorTwitter Emoji
Use the door icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M5 2h11a3 3 0 0 1 3 3v14a1 1 0 0 1-1 1h-3"/><path d="m5 2l7.588 1.518A3 3 0 0 1 15 6.459V20.78a1 1 0 0 1-1.196.98l-7.196-1.438A2 2 0 0 1 5 18.36zm7 10v2"/></g></svg>
React
import type { SVGProps } from "react";
export function AkarIconsDoor(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path d="M5 2h11a3 3 0 0 1 3 3v14a1 1 0 0 1-1 1h-3"/><path d="m5 2l7.588 1.518A3 3 0 0 1 15 6.459V20.78a1 1 0 0 1-1.196.98l-7.196-1.438A2 2 0 0 1 5 18.36zm7 10v2"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M5 2h11a3 3 0 0 1 3 3v14a1 1 0 0 1-1 1h-3"/><path d="m5 2l7.588 1.518A3 3 0 0 1 15 6.459V20.78a1 1 0 0 1-1.196.98l-7.196-1.438A2 2 0 0 1 5 18.36zm7 10v2"/></g></svg> </template>
CSS
.icon-door {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M5%202h11a3%203%200%200%201%203%203v14a1%201%200%200%201-1%201h-3%22%2F%3E%3Cpath%20d%3D%22m5%202l7.588%201.518A3%203%200%200%201%2015%206.459V20.78a1%201%200%200%201-1.196.98l-7.196-1.438A2%202%200%200%201%205%2018.36zm7%2010v2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M5%202h11a3%203%200%200%201%203%203v14a1%201%200%200%201-1%201h-3%22%2F%3E%3Cpath%20d%3D%22m5%202l7.588%201.518A3%203%200%200%201%2015%206.459V20.78a1%201%200%200%201-1.196.98l-7.196-1.438A2%202%200%200%201%205%2018.36zm7%2010v2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/akar-icons/door.svg?color=%231a73e8&size=48