ICONYZ
English
Pencil Lock icon from Material Design Icons

Pencil Lock icon

mdi:pencil-lock

The Pencil Lock icon (mdi:pencil-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, pencillock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.5 2A2.5 2.5 0 0 0 3 4.5V5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1v-.5A2.5 2.5 0 0 0 5.5 2m0 1A1.5 1.5 0 0 1 7 4.5V5H4v-.5A1.5 1.5 0 0 1 5.5 3m14.16 0c-.26 0-.5.09-.69.28l-1.84 1.85l3.75 3.75l1.84-1.85c.39-.39.39-1.03 0-1.4l-2.34-2.35c-.2-.19-.47-.28-.72-.28m-3.6 3.19L5 17.25V21h3.75L19.81 9.94z"/></svg>

How to use the Pencil Lock icon

React

import { Icon } from "@iconify/react";

<Icon icon="mdi:pencil-lock" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="mdi:pencil-lock" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="mdi:pencil-lock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--pencil-lock]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:pencil-lock"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="mdi:pencil-lock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/pencil-lock.svg" alt="Pencil Lock icon" width="24" height="24">

Related icons in Material Design Icons

Pencil Lock icon FAQ

Is the Pencil 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 Pencil Lock icon in React?

Install @iconify/react and render <Icon icon="mdi:pencil-lock" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Pencil Lock icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/pencil-lock.svg" alt="Pencil Lock icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →