ICONYZ
English
Lock icon from Entypo+

Lock icon

entypo:lock

The Lock icon (entypo:lock) is a free SVG icon from the Entypo+ set by Daniel Bruce. It is drawn on a 20 × 20 grid. Entypo+ 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
Entypo+
Author
Daniel Bruce
License
CC-BY-SA-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1S6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387A7.7 7.7 0 0 0 7.1 19h5.8a7.7 7.7 0 0 0 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8M12 8H8V5.199C8 3.754 8.797 3 10 3s2 .754 2 2.199z"/></svg>

How to use the Lock icon

React

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

<Icon icon="entypo:lock" width="24" />

Vue

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

<template>
  <Icon icon="entypo:lock" width="24" />
</template>

Svelte

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

<Icon icon="entypo:lock" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="entypo:lock"></iconify-icon>

HTML image

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

Related icons in Entypo+

Lock icon in other icon sets

Lock icon FAQ

Is the Lock icon free for commercial use?

Yes. Entypo+ 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 Lock icon in React?

Install @iconify/react and render <Icon icon="entypo: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/entypo/lock.svg" alt="Lock icon">, or paste the SVG code inline to style it with CSS.

Browse all Entypo+ icons →