ICONYZ
English
Key icon from Streamline color

Key icon

streamline-color:key

The Key icon (streamline-color:key) is a free SVG icon from the Streamline color set by Streamline. It is drawn on a 14 × 14 grid. Streamline color icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Streamline color
Author
Streamline
License
CC-BY-4.0
Size
14 × 14
Category
InterfaceEssential
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g fill="none" stroke="#4147d5" stroke-linecap="round" stroke-linejoin="round"><path d="M5.62 7.38L11.5 1.5l2 2m-4.25.25L11 5.5"/><path d="M3.5 12.5a3 3 0 1 0 0-6a3 3 0 0 0 0 6"/></g></svg>

How to use the Key icon

React

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

<Icon icon="streamline-color:key" width="24" />

Vue

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

<template>
  <Icon icon="streamline-color:key" width="24" />
</template>

Svelte

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

<Icon icon="streamline-color:key" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="streamline-color:key"></iconify-icon>

HTML image

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

Related icons in Streamline color

Key icon in other icon sets

Key icon FAQ

Is the Key icon free for commercial use?

Yes. Streamline color icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Key icon in React?

Install @iconify/react and render <Icon icon="streamline-color: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/streamline-color/key.svg" alt="Key icon">, or paste the SVG code inline to style it with CSS.

Browse all Streamline color icons →