ICONYZ
English
Key icon from OOUI

Key icon

ooui:key

The Key icon (ooui:key) is a free SVG icon from the OOUI set by OOUI Team. It is drawn on a 20 × 20 grid. OOUI 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
OOUI
Author
OOUI Team
License
MIT
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M13.706 1.5C17.128 1.5 20 4.133 20 7.5s-2.872 6-6.294 6c-.65 0-1.28-.095-1.873-.27q-.007-.004-.016-.006L9.855 15H9v2H7v1.5H1l-1-1v-2.435L7.446 8.13a6 6 0 0 1-.034-.631c0-3.367 2.872-6 6.294-6Zm0 2c-2.426 0-4.294 1.844-4.294 4q0 .407.083.79l.12.555L2 15.935v.565h3V15h2v-2h2.086l2.3-2.081l.584.24a4.5 4.5 0 0 0 1.736.341c2.426 0 4.294-1.844 4.294-4s-1.868-4-4.294-4"/><circle cx="13.75" cy="7.5" r="1.5" fill="currentColor"/></svg>

How to use the Key icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in OOUI

Key icon in other icon sets

Key icon FAQ

Is the Key icon free for commercial use?

Yes. OOUI icons are released under the MIT 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="ooui: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/ooui/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.

Browse all OOUI icons →