Pen Lock icon
mdi:pen-lock
The Pen Lock icon (mdi:pen-lock) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
- Material Design Icons
- Author
- Pictogrammers
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Lock
- Tags
- lock, penlock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.7 7c-.3.4-.7.7-.7 1s.3.6.6 1c.5.5 1 .9.9 1.4c0 .5-.5 1-1 1.5L17.4 16L16 14.7l4.2-4.2l-1-1l-1.4 1.4L14 7.1l4-3.8c.4-.4 1-.4 1.4 0l2.3 2.3c.4.4.4 1.1 0 1.4M4 17.2l9.6-9.6l3.7 3.8L7.8 21H4zM8 5v-.5C8 3.1 6.9 2 5.5 2S3 3.1 3 4.5V5c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h5c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1M7 5H4v-.5C4 3.7 4.7 3 5.5 3S7 3.7 7 4.5z"/></svg>How to use the Pen Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="mdi:pen-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mdi:pen-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mdi:pen-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--pen-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:pen-lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mdi:pen-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mdi/pen-lock.svg" alt="Pen Lock icon" width="24" height="24">Related icons in Material Design Icons
Pen Lock icon FAQ
Is the Pen Lock icon free for commercial use?
Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Pen Lock icon in React?
Install @iconify/react and render <Icon icon="mdi:pen-lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pen Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/pen-lock.svg" alt="Pen Lock icon">, or paste the SVG code inline to style it with CSS.