ICONYZ
English
Key icon from Vaadin Icons

Key icon

vaadin:key

The Key icon (vaadin:key) is a free SVG icon from the Vaadin Icons set by Vaadin. It is drawn on a 24 × 24 grid. Vaadin 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
Vaadin Icons
Author
Vaadin
License
Apache-2.0
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="m8.1 7l-.6-.3L15 0h-2L6 6.1C5.7 6 5.4 6 5 6c-2.8 0-5 2.2-5 5s2.3 5 5 5s5-2.2 5-5c0-.6-.1-1.2-.3-1.7L11 8V6h2V4h2l1-1V0zM4 13.2c-.7 0-1.2-.6-1.2-1.2s.6-1.2 1.2-1.2s1.2.6 1.2 1.2s-.5 1.2-1.2 1.2"/></svg>

How to use the Key icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Vaadin Icons

Key icon in other icon sets

Key icon FAQ

Is the Key icon free for commercial use?

Yes. Vaadin 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="vaadin: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/vaadin/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.

Browse all Vaadin Icons →