Lock icon
ls:lock
The Lock icon (ls:lock) is a free SVG icon from the Ligature Symbols set by Kazuyuki Motoyama. It is drawn on a 551 × 717 grid. Ligature Symbols icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Ligature Symbols
- Author
- Kazuyuki Motoyama
- License
- OFL-1.1
- Size
- 551 × 717
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="551" height="717" viewBox="0 0 551 717"><path fill="currentColor" d="M468 332h67c9 0 16 8 16 17v352c0 9-7 16-16 16H16c-9 0-16-7-16-16V349c0-9 7-17 16-17h65V168C81 76 140 0 231 0h86c92 0 151 76 151 168zm-302 0h218V176c0-51-42-94-94-94h-31c-51 0-93 43-93 94zm63 283h93l-23-101c16-8 27-25 27-44c0-29-23-51-51-51s-50 22-50 51c0 19 11 36 27 44z"/></svg>How to use the Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="ls:lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ls:lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ls:lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ls--lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ls -->
<div class="i-ls:lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ls:lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ls/lock.svg" alt="Lock icon" width="24" height="24">Lock icon in other icon sets
Lock icon FAQ
Is the Lock icon free for commercial use?
Yes. Ligature Symbols icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Lock icon in React?
Install @iconify/react and render <Icon icon="ls:lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ls/lock.svg" alt="Lock icon">, or paste the SVG code inline to style it with CSS.