ICONYZ
English
Lock Alt 02 icon from Griddy Icons

Lock Alt 02 icon

griddy-icons:lock-alt-02

The Lock Alt 02 icon (griddy-icons:lock-alt-02) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Tags
lockalt
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M18 8v2.605c1.15.33 2 1.39 2 2.645v6A2.755 2.755 0 0 1 17.25 22H6.75A2.755 2.755 0 0 1 4 19.25v-6c0-1.26.85-2.315 2-2.645V8c0-3.31 2.69-6 6-6s6 2.69 6 6m-1.5 0c0-2.48-2.02-4.5-4.5-4.5S7.5 5.52 7.5 8v2.5h9zm.75 12.5c.69 0 1.25-.56 1.25-1.25v-6c0-.69-.56-1.25-1.25-1.25H6.75c-.69 0-1.25.56-1.25 1.25v6c0 .69.56 1.25 1.25 1.25zM12 14c.83 0 1.5.67 1.5 1.5c0 .55-.305 1.03-.75 1.29v1.71h-1.5v-1.71a1.49 1.49 0 0 1-.75-1.29c0-.83.67-1.5 1.5-1.5" clip-rule="evenodd"/></svg>

How to use the Lock Alt 02 icon

React

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

<Icon icon="griddy-icons:lock-alt-02" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:lock-alt-02" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:lock-alt-02" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--lock-alt-02]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:lock-alt-02"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/lock-alt-02.svg" alt="Lock Alt 02 icon" width="24" height="24">

Related icons in Griddy Icons

Lock Alt 02 icon FAQ

Is the Lock Alt 02 icon free for commercial use?

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

How do I use the Lock Alt 02 icon in React?

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

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

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

Browse all Griddy Icons →