Locked icon
openmoji:locked
The Locked icon (openmoji:locked) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Objects
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#d0cfce" stroke="#d0cfce" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M21.375 31.175c-.35-8.771 6.45-18.54 14.387-18.78c8.005-.242 16.541 10.97 14.333 19.052h-4.04s1.563-7.922-2.216-11.253c-1.85-1.63-5.255-4.771-8.64-4.292c-2.282.323-6.867 3.451-7.926 5.42c-2.065 3.837-1.725 9.817-1.725 9.817z"/><path fill="#fcea2b" d="M53 32.297h1.875v26.875h-38V32.297h1.875z"/><path fill="#f1b31c" d="M54.43 32.493L35.66 58.994h19.308z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path d="M53 32.25h1.875v26.875h-38V32.25h1.875zm-31.625-3.335c0-8.379 6.415-16.275 14.319-16.523c7.97-.251 15.41 7.284 14.741 16.523"/><path d="M25.548 28.915c0-6.336 4.575-12.306 10.212-12.494c5.684-.19 10.99 5.508 10.514 12.494"/></g></svg>How to use the Locked icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:locked" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:locked" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:locked" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--locked]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:locked"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:locked"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/locked.svg" alt="Locked icon" width="24" height="24">Related icons in OpenMoji
Locked icon in other icon sets
Locked icon FAQ
Is the Locked icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Locked icon in React?
Install @iconify/react and render <Icon icon="openmoji:locked" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Locked icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/locked.svg" alt="Locked icon">, or paste the SVG code inline to style it with CSS.