ICONYZ
English
Key icon from IconPark Solid

Key icon

icon-park-solid:key

The Key icon (icon-park-solid:key) is a free SVG icon from the IconPark Solid set by ByteDance. It is drawn on a 48 × 48 grid. IconPark Solid 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
IconPark Solid
Author
ByteDance
License
Apache-2.0
Size
48 × 48
Category
Safe
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="4"><path fill="currentColor" d="M22.868 24.298a9.87 9.87 0 0 1 2.63 9.588a9.93 9.93 0 0 1-7.065 7.028a9.99 9.99 0 0 1-9.64-2.615a9.863 9.863 0 0 1 .122-13.878c3.839-3.82 10.046-3.873 13.951-.121z"/><path stroke-linecap="round" d="M23 24L40 7"/><path fill="currentColor" d="m30.305 16.9l5.429 5.4l6.333-6.3l-5.428-5.4z"/></g></svg>

How to use the Key icon

React

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

<Icon icon="icon-park-solid:key" width="24" />

Vue

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

<template>
  <Icon icon="icon-park-solid:key" width="24" />
</template>

Svelte

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

<Icon icon="icon-park-solid:key" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="icon-park-solid:key"></iconify-icon>

HTML image

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

Related icons in IconPark Solid

Key icon in other icon sets

Key icon FAQ

Is the Key icon free for commercial use?

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

Browse all IconPark Solid icons →