Door Closed icon
hugeicons:door-closed
The Door Closed icon (hugeicons:door-closed) 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
- Tags
- doorclosed
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 8v14M3 22h18"/><path d="M8.375 12H8.25m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0Z"/><path stroke-linejoin="round" d="M14 5h-4c-.943 0-1.414 0-1.707.293S8 6.057 8 7s0 1.414.293 1.707S9.057 9 10 9h4c.943 0 1.414 0 1.707-.293S16 7.943 16 7s0-1.414-.293-1.707S14.943 5 14 5"/></g></svg>How to use the Door Closed icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:door-closed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:door-closed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:door-closed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--door-closed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:door-closed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:door-closed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/door-closed.svg" alt="Door Closed icon" width="24" height="24">Related icons in Huge Icons
Door Closed icon in other icon sets
Door Closed icon FAQ
Is the Door Closed 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 Closed icon in React?
Install @iconify/react and render <Icon icon="hugeicons:door-closed" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Door Closed icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/door-closed.svg" alt="Door Closed icon">, or paste the SVG code inline to style it with CSS.