ICONYZ
English
Locked icon from Fontisto

Locked icon

fontisto:locked

The Locked icon (fontisto:locked) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 20 × 24 grid. Fontisto icons are released under the MIT 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
Fontisto
Author
Kenan Gündoğan
License
MIT
Size
20 × 24
Category
Interfaces
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 20 24"><path fill="currentColor" d="M3.5 6.5V10H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V12a2 2 0 0 0-2-2h-1.5V6.5a6.5 6.5 0 1 0-13 0M6 10V6.5a4 4 0 0 1 8 0V10zm2 5.5a2 2 0 1 1 3.092 1.676l-.008.005s.195 1.18.415 2.57v.001a.75.75 0 0 1-.749.749H9.248a.75.75 0 0 1-.749-.749v-.001l.415-2.57a2 2 0 0 1-.916-1.68z"/></svg>

How to use the Locked icon

React

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

<Icon icon="fontisto:locked" width="24" />

Vue

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

<template>
  <Icon icon="fontisto:locked" width="24" />
</template>

Svelte

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

<Icon icon="fontisto:locked" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fontisto:locked"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fontisto/locked.svg" alt="Locked icon" width="24" height="24">

Locked icon in other icon sets

Locked icon FAQ

Is the Locked icon free for commercial use?

Yes. Fontisto icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Locked icon in React?

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

Browse all Fontisto icons →