ICONYZ
English
Password icon from Griddy Icons

Password icon

griddy-icons:password

The Password icon (griddy-icons:password) 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
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="M22 4H2v1.5h20zm0 14.5H2V20h20zM5 12.865l-1.415.82l-.5-.87L4.5 12l-1.415-.815l.5-.87l1.415.82V9.5h1v1.635l1.415-.82l.5.87L6.5 12l1.415.815l-.5.87L6 12.865V14.5H5zm5.085.82l1.415-.82V14.5h1v-1.635l1.415.82l.5-.87L13 12l1.415-.815l-.5-.87l-1.415.82V9.5h-1v1.635l-1.415-.82l-.5.87L11 12l-1.415.815zm7.915-.82l-1.415.82l-.5-.87L17.5 12l-1.415-.815l.5-.87l1.415.82V9.5h1v1.635l1.415-.82l.5.87L19.5 12l1.415.815l-.5.87l-1.415-.82V14.5h-1z" clip-rule="evenodd"/></svg>

How to use the Password icon

React

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

<Icon icon="griddy-icons:password" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:password" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:password" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:password"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/password.svg" alt="Password icon" width="24" height="24">

Password icon in other icon sets

Password icon FAQ

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

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

How do I add the Password icon to a web page?

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

Browse all Griddy Icons →