ICONYZ
English
Key 2 icon from Cyber color icons

Key 2 icon

streamline-cyber-color:key-2

The Key 2 icon (streamline-cyber-color:key-2) is a free SVG icon from the Cyber color icons set by Streamline. It is drawn on a 24 × 24 grid. Cyber 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
Cyber color icons
Author
Streamline
License
CC-BY-4.0
Size
24 × 24
Category
InterfaceEssential
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="#fff" d="m13.637 15.036l3.33-3.328l-.39-2.728h3.117l-.39-2.727l2.728.391l1.168-1.17l-.39-4.284L18.525.8l-9.562 9.561l-3.098-.796L.8 14.63l1.753 6.817L9.37 23.2l5.065-5.065z"/><path fill="#bbd8ff" d="m23.2 5.475l-.39-4.285l-.018-.001L7.22 16.762l1.568 1.568l-1.56 1.56l-2.337-.78l-.004-.015l-2.337 2.337l.004.015L9.37 23.2l5.065-5.065l-.798-3.099l3.33-3.328l-.39-2.728h3.117l-.39-2.727l2.727.391z"/><path stroke="#092f63" stroke-linecap="round" stroke-linejoin="round" d="m13.637 15.036l3.33-3.328l-.39-2.728h3.117l-.39-2.727l2.728.391l1.168-1.17l-.39-4.284L18.525.8l-9.562 9.561l-3.098-.796L.8 14.63l1.753 6.817L9.37 23.2l5.065-5.065zM21.382 1.06L10.345 12.097"/><path stroke="#092f63" stroke-linecap="round" stroke-linejoin="round" d="m7.228 19.89l-2.338-.78l-.78-2.338l1.56-1.559l3.117 3.117z"/></g></svg>

How to use the Key 2 icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Key 2 icon in other icon sets

Key 2 icon FAQ

Is the Key 2 icon free for commercial use?

Yes. Cyber 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 2 icon in React?

Install @iconify/react and render <Icon icon="streamline-cyber-color:key-2" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Key 2 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline-cyber-color/key-2.svg" alt="Key 2 icon">, or paste the SVG code inline to style it with CSS.

Browse all Cyber color icons →