Lock icon
temaki:lock
The Lock icon (temaki:lock) is a free SVG icon from the Temaki set by Bryan Housel. It is drawn on a 50 × 50 grid. Temaki icons are released under the CC0 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
- Temaki
- Author
- Bryan Housel
- License
- CC0-1.0
- Size
- 50 × 50
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="currentColor" d="M43.16 21H41v-8.63C41 6.69 35.3 1 29.63 1h-9.48C14.48 1 9.01 6.69 9.01 12.37V21H6.62c-.68 0-1.61 1.06-1.61 1.66v25.46c0 .6.93.88 1.61.88h36.55c.68 0 1.84-.28 1.84-.88V22.66c0-.6-1.16-1.66-1.84-1.66zM29.71 45h-9.65l2.03-9.97c-1.22-.87-2.02-2.5-2.02-4.11c0-2.64 2.16-4.89 4.83-4.89s4.83 2.09 4.83 4.73c0 1.61-.8 3.43-2.02 4.3L29.73 45zM34 21H16v-8.63C16 9.79 17.69 8 20.24 8h9.29C32.08 8 34 9.79 34 12.37z"/></svg>How to use the Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="temaki:lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="temaki:lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="temaki:lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[temaki--lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/temaki -->
<div class="i-temaki:lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="temaki:lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/temaki/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. Temaki icons are released under the CC0 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="temaki: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/temaki/lock.svg" alt="Lock icon">, or paste the SVG code inline to style it with CSS.