ICONYZ
English
Door icon from Jam Icons

Door icon

jam:door

The Door icon (jam:door) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 24 × 24 grid. Jam 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
Jam Icons
Author
Michael Amprimo
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"><path fill="currentColor" d="M2 0h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2m0 2v16h8V2zm2 7h1a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2"/></svg>

How to use the Door icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Door icon in other icon sets

Door icon FAQ

Is the Door icon free for commercial use?

Yes. Jam 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="jam: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/jam/door.svg" alt="Door icon">, or paste the SVG code inline to style it with CSS.

Browse all Jam Icons →