ICONYZ
English
Lock Fill icon from Mage Icons

Lock Fill icon

mage:lock-fill

The Lock Fill icon (mage:lock-fill) is a free SVG icon from the Mage Icons set by MageIcons. It is drawn on a 24 × 24 grid. Mage 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
Mage Icons
Author
MageIcons
License
Apache-2.0
Size
24 × 24
Tags
lockfill
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="M17.38 9.1V7.51a5.378 5.378 0 0 0-7.487-5.18A5.38 5.38 0 0 0 6.63 7.51V9.1a3.12 3.12 0 0 0-2.88 3v6.94A3.16 3.16 0 0 0 7 22.1h10a3.16 3.16 0 0 0 3.25-3.06V12.1a3.12 3.12 0 0 0-2.87-3M8.13 7.51a3.84 3.84 0 0 1 1.13-2.74A3.9 3.9 0 0 1 12 3.63a3.89 3.89 0 0 1 3.88 3.88v1.56H8.13zm7.34 11.4h-6.9a1 1 0 0 1 0-2h6.94a1 1 0 1 1 0 2z"/></svg>

How to use the Lock Fill icon

React

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

<Icon icon="mage:lock-fill" width="24" />

Vue

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

<template>
  <Icon icon="mage:lock-fill" width="24" />
</template>

Svelte

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

<Icon icon="mage:lock-fill" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mage:lock-fill"></iconify-icon>

HTML image

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

Related icons in Mage Icons

Lock Fill icon in other icon sets

Lock Fill icon FAQ

Is the Lock Fill icon free for commercial use?

Yes. Mage Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Lock Fill icon in React?

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

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

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

Browse all Mage Icons →