ICONYZ
English
Lock Keyhole Linear icon from Solar

Lock Keyhole Linear icon

solar:lock-keyhole-linear

The Lock Keyhole Linear icon (solar:lock-keyhole-linear) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar 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
Solar
Author
480 Design
License
CC-BY-4.0
Size
24 × 24
Category
Security
Tags
lockkeyhole, keyholelinear, lockkeyholelinear
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M2 16C2 13.1716 2 11.7574 2.87868 10.8787C3.75736 10 5.17157 10 8 10H16C18.8284 10 20.2426 10 21.1213 10.8787C22 11.7574 22 13.1716 22 16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H8C5.17157 22 3.75736 22 2.87868 21.1213C2 20.2426 2 18.8284 2 16Z"/><circle cx="12" cy="16" r="2"/><path stroke-linecap="round" d="M6 10V8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V10"/></g></svg>

How to use the Lock Keyhole Linear icon

React

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

<Icon icon="solar:lock-keyhole-linear" width="24" />

Vue

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

<template>
  <Icon icon="solar:lock-keyhole-linear" width="24" />
</template>

Svelte

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

<Icon icon="solar:lock-keyhole-linear" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--lock-keyhole-linear]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:lock-keyhole-linear"></div>

Web component

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

<iconify-icon icon="solar:lock-keyhole-linear"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/solar/lock-keyhole-linear.svg" alt="Lock Keyhole Linear icon" width="24" height="24">

Related icons in Solar

Lock Keyhole Linear icon FAQ

Is the Lock Keyhole Linear icon free for commercial use?

Yes. Solar 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 Lock Keyhole Linear icon in React?

Install @iconify/react and render <Icon icon="solar:lock-keyhole-linear" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Lock Keyhole Linear icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/lock-keyhole-linear.svg" alt="Lock Keyhole Linear icon">, or paste the SVG code inline to style it with CSS.

Browse all Solar icons →