ICONYZ
English
Lock Duotone icon from Lets Icons

Lock Duotone icon

lets-icons:lock-duotone

The Lock Duotone icon (lets-icons:lock-duotone) is a free SVG icon from the Lets Icons set by Leonid Tsvetkov. It is drawn on a 24 × 24 grid. Lets 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
Lets Icons
Author
Leonid Tsvetkov
License
CC-BY-4.0
Size
24 × 24
Category
Secure
Tags
lockduotone
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="currentColor" fill-opacity=".25" d="M4 12c0-.943 0-1.414.293-1.707S5.057 10 6 10h12c.943 0 1.414 0 1.707.293S20 11.057 20 12v6.038c0 .38 0 .571-.029.74a2 2 0 0 1-1.164 1.49c-.156.07-.341.116-.71.208c-1.238.31-1.857.464-2.476.578c-2.394.44-4.848.44-7.243 0c-.618-.114-1.237-.269-2.474-.578c-.37-.092-.555-.139-.71-.207a2 2 0 0 1-1.165-1.492C4 18.61 4 18.42 4 18.037z"/><path stroke="currentColor" d="M16.5 10V9a4.5 4.5 0 1 0-9 0v1"/><circle cx="12" cy="15" r="2" fill="currentColor"/><path stroke="currentColor" stroke-linecap="round" d="M12 16v2.5"/></g></svg>

How to use the Lock Duotone icon

React

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

<Icon icon="lets-icons:lock-duotone" width="24" />

Vue

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

<template>
  <Icon icon="lets-icons:lock-duotone" width="24" />
</template>

Svelte

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

<Icon icon="lets-icons:lock-duotone" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[lets-icons--lock-duotone]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/lets-icons -->
<div class="i-lets-icons:lock-duotone"></div>

Web component

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

<iconify-icon icon="lets-icons:lock-duotone"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lets-icons/lock-duotone.svg" alt="Lock Duotone icon" width="24" height="24">

Related icons in Lets Icons

Lock Duotone icon in other icon sets

Lock Duotone icon FAQ

Is the Lock Duotone icon free for commercial use?

Yes. Lets 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 Duotone icon in React?

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

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

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

Browse all Lets Icons →