Key Line icon
clarity:key-line
The Key Line icon (clarity:key-line) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><rect width="9.71" height="2.57" x="6.33" y="10.71" fill="currentColor" class="clr-i-outline clr-i-outline-path-1" rx="1" ry="1" transform="rotate(-45 11.192 12.004)"/><path fill="currentColor" d="m23.35 16.8l.63-.63A5 5 0 0 0 24 9.1l-5.29-5.26a5 5 0 0 0-7.07 0l-8.55 8.55a5 5 0 0 0 0 7.07l5.26 5.26a5 5 0 0 0 7.07 0l.4-.4L18 26.48h3.44v3h3.69v1.63L28 34h6v-6.55ZM32 32h-3.14l-1.77-1.76v-2.8h-3.68v-3H18.8l-3-3l-1.8 1.87a3 3 0 0 1-4.24 0L4.5 18a3 3 0 0 1 0-4.24l8.56-8.56a3 3 0 0 1 4.24 0l5.26 5.26a3 3 0 0 1 0 4.24l-2 2L32 28.28Z" class="clr-i-outline clr-i-outline-path-2"/><path fill="none" d="M0 0h36v36H0z"/></svg>How to use the Key Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="clarity:key-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="clarity:key-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="clarity:key-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[clarity--key-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/clarity -->
<div class="i-clarity:key-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="clarity:key-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/clarity/key-line.svg" alt="Key Line icon" width="24" height="24">Related icons in Clarity
Key Line icon in other icon sets
Key Line icon FAQ
Is the Key Line icon free for commercial use?
Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Key Line icon in React?
Install @iconify/react and render <Icon icon="clarity:key-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Key Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/key-line.svg" alt="Key Line icon">, or paste the SVG code inline to style it with CSS.