ICONYZ
English
Key icon from Element Plus

Key icon

ep:key

The Key icon (ep:key) is a free SVG icon from the Element Plus set. It is drawn on a 1024 × 1024 grid. Element Plus 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
Element Plus
Author
Element Plus
License
MIT
Size
1024 × 1024
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M448 456V96a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8m64 440a192 192 0 1 0 0-384a192 192 0 0 0 0 384"/></svg>

How to use the Key icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/ep/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. Element Plus 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="ep: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/ep/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.

Browse all Element Plus icons →