Lock Closed icon
stash:lock-closed
The Lock Closed icon (stash:lock-closed) is a free SVG icon from the Stash Icons set by Pingback LLC. It is drawn on a 24 × 24 grid. Stash 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
- Stash Icons
- Author
- Pingback LLC
- License
- MIT
- Size
- 24 × 24
- Tags
- lockclosed
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.25 14.75a1.75 1.75 0 1 1 2.5 1.582V17a.75.75 0 0 1-1.5 0v-.668a1.75 1.75 0 0 1-1-1.582"/><path fill="currentColor" d="M7.25 7a4.75 4.75 0 0 1 9.5 0v2.356c.34.058.654.15.953.303a3.75 3.75 0 0 1 1.638 1.638c.227.445.321.925.366 1.471c.043.531.043 1.187.043 2v1.464c0 .813 0 1.469-.043 2c-.045.546-.14 1.026-.366 1.47a3.75 3.75 0 0 1-1.639 1.64c-.444.226-.924.32-1.47.365c-.531.043-1.187.043-2 .043H9.768c-.813 0-1.469 0-2-.043c-.546-.045-1.026-.14-1.47-.366a3.75 3.75 0 0 1-1.64-1.639c-.226-.444-.32-.924-.365-1.47c-.043-.531-.043-1.187-.043-2v-1.464c0-.813 0-1.469.043-2c.045-.546.14-1.026.366-1.47a3.75 3.75 0 0 1 1.639-1.64a3.3 3.3 0 0 1 .952-.302zm8 0a3.25 3.25 0 0 0-6.5 0v2.254q.463-.005 1.018-.004h4.464q.556-.001 1.018.004zm-7.36 3.788c-.453.037-.714.107-.911.207a2.25 2.25 0 0 0-.984.984c-.1.197-.17.458-.207.912c-.037.462-.038 1.056-.038 1.909v1.4c0 .852 0 1.447.038 1.91c.037.453.107.714.207.912c.216.423.56.767.984.983c.197.1.458.17.912.207c.462.037 1.057.038 1.909.038h4.4c.853 0 1.447 0 1.91-.038c.453-.038.714-.107.912-.207c.423-.216.767-.56.983-.983c.1-.198.17-.459.207-.913c.037-.462.038-1.057.038-1.909v-1.4c0-.853 0-1.447-.038-1.91c-.038-.453-.107-.714-.207-.912a2.25 2.25 0 0 0-.983-.983c-.198-.1-.459-.17-.913-.207c-.462-.037-1.057-.038-1.909-.038H9.8c-.852 0-1.447 0-1.91.038"/></svg>How to use the Lock Closed icon
React
import { Icon } from "@iconify/react";
<Icon icon="stash:lock-closed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="stash:lock-closed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="stash:lock-closed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[stash--lock-closed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/stash -->
<div class="i-stash:lock-closed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="stash:lock-closed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/stash/lock-closed.svg" alt="Lock Closed icon" width="24" height="24">Related icons in Stash Icons
Lock Closed icon in other icon sets
Lock Closed icon FAQ
Is the Lock Closed icon free for commercial use?
Yes. Stash Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Lock Closed icon in React?
Install @iconify/react and render <Icon icon="stash:lock-closed" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lock Closed icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/stash/lock-closed.svg" alt="Lock Closed icon">, or paste the SVG code inline to style it with CSS.