ICONYZ
English
Door With Keyhole icon from Röntgen

Door With Keyhole icon

roentgen:door-with-keyhole

The Door With Keyhole icon (roentgen:door-with-keyhole) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Röntgen
Author
Sergey Vartanov
License
CC-BY-4.0
Size
24 × 24
Tags
doorwith, withkeyhole, doorwithkeyhole
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="M4.5 2c-.277 0-.5.223-.5.5v11c0 .277.223.5.5.5h7c.277 0 .5-.223.5-.5v-11c0-.277-.223-.5-.5-.5zM6 6.5a1 1 0 0 1 1 1a1 1 0 0 1-.5.865V9.5a.499.499 0 1 1-1 0V8.363A1 1 0 0 1 5 7.5a1 1 0 0 1 1-1"/></svg>

How to use the Door With Keyhole icon

React

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

<Icon icon="roentgen:door-with-keyhole" width="24" />

Vue

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

<template>
  <Icon icon="roentgen:door-with-keyhole" width="24" />
</template>

Svelte

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

<Icon icon="roentgen:door-with-keyhole" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="roentgen:door-with-keyhole"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/roentgen/door-with-keyhole.svg" alt="Door With Keyhole icon" width="24" height="24">

Door With Keyhole icon FAQ

Is the Door With Keyhole icon free for commercial use?

Yes. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Door With Keyhole icon in React?

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

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

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

Browse all Röntgen icons →