Lock Square icon
mynaui:lock-square
The Lock Square icon (mynaui:lock-square) is a free SVG icon from the Myna UI Icons set by Praveen Juge. It is drawn on a 24 × 24 grid. Myna UI 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.
- Icon set
- Myna UI Icons
- Author
- Praveen Juge
- License
- MIT
- Size
- 24 × 24
- Tags
- locksquare
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-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M3 9.4c0-2.24 0-3.36.436-4.216a4 4 0 0 1 1.748-1.748C6.04 3 7.16 3 9.4 3h5.2c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748C21 6.04 21 7.16 21 9.4v5.2c0 2.24 0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748C17.96 21 16.84 21 14.6 21H9.4c-2.24 0-3.36 0-4.216-.436a4 4 0 0 1-1.748-1.748C3 17.96 3 16.84 3 14.6z"/><path d="M14.004 10.947V8.925c0-2.641-4.008-2.491-4.008 0v2.021m-.994 0h5.996c.553 0 1.002.453 1.002 1.011v3.032c0 .558-.449 1.011-1.002 1.011H9.002A1.006 1.006 0 0 1 8 14.99v-3.033c0-.558.449-1.01 1.002-1.01"/></g></svg>How to use the Lock Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="mynaui:lock-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mynaui:lock-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mynaui:lock-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mynaui--lock-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mynaui -->
<div class="i-mynaui:lock-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mynaui:lock-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mynaui/lock-square.svg" alt="Lock Square icon" width="24" height="24">Related icons in Myna UI Icons
lock
lock-circle
lock-circle-solid
lock-diamond
lock-diamond-solid
lock-hexagon
lock-hexagon-solid
lock-keyhole
lock-keyhole-solid
lock-octagon
lock-octagon-solid
lock-open
lock-open-keyhole
lock-open-keyhole-solid
lock-open-password
lock-open-password-solid
lock-open-solid
lock-password
lock-password-solid
lock-solid
lock-square-solid
lock-waves
lock-waves-solid
Lock Square icon in other icon sets
Lock Square icon FAQ
Is the Lock Square icon free for commercial use?
Yes. Myna UI Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Lock Square icon in React?
Install @iconify/react and render <Icon icon="mynaui:lock-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mynaui/lock-square.svg" alt="Lock Square icon">, or paste the SVG code inline to style it with CSS.