ICONYZ
English
Door icon from Huge Icons

Door icon

hugeicons:door

The Door icon (hugeicons:door) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path stroke-linejoin="round" d="M5 22V8c0-2.828 0-4.243.879-5.121C6.757 2 8.172 2 11 2h2c2.828 0 4.243 0 5.121.879C19 3.757 19 5.172 19 8v14z"/><path stroke-linejoin="round" d="M8 11V7c0-1.655.345-2 2-2h4c1.655 0 2 .345 2 2v4c0 1.655-.345 2-2 2h-4c-1.655 0-2-.345-2-2M3 22h18M12 5v8m4-4H8"/><path d="M8.125 17H8m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0Z"/></g></svg>

How to use the Door icon

React

import { Icon } from "@iconify/react";

<Icon icon="hugeicons:door" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="hugeicons:door" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="hugeicons:door" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--door]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:door"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="hugeicons:door"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/door.svg" alt="Door icon" width="24" height="24">

Related icons in Huge Icons

Door icon in other icon sets

Door icon FAQ

Is the Door icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Door icon in React?

Install @iconify/react and render <Icon icon="hugeicons:door" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Door icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/door.svg" alt="Door icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →