ICONYZ
English
Key icon from Memory Icons

Key icon

memory:key

The Key icon (memory:key) is a free SVG icon from the Memory Icons set by Pictogrammers. It is drawn on a 22 × 22 grid. Memory Icons are released under the Apache 2.0 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
Memory Icons
Author
Pictogrammers
License
Apache-2.0
Size
22 × 22
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path fill="currentColor" d="M9 15H5v-1H4v-1H3V9h1V8h1V7h4v1h1v1h1v1h8v2h-2v2h-2v-2h-4v1h-1v1H9m-1-1v-1h1v-2H8V9H6v1H5v2h1v1Z"/></svg>

How to use the Key icon

React

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

<Icon icon="memory:key" width="24" />

Vue

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

<template>
  <Icon icon="memory:key" width="24" />
</template>

Svelte

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

<Icon icon="memory:key" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="memory:key"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/memory/key.svg" alt="Key icon" width="24" height="24">

Key icon in other icon sets

Key icon FAQ

Is the Key icon free for commercial use?

Yes. Memory Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Key icon in React?

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

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

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

Browse all Memory Icons →