ICONYZ
English
Lock Closed icon from Radix Icons

Lock Closed icon

radix-icons:lock-closed

The Lock Closed icon (radix-icons:lock-closed) is a free SVG icon from the Radix Icons set by WorkOS. It is drawn on a 15 × 15 grid. Radix 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
Radix Icons
Author
WorkOS
License
MIT
Size
15 × 15
Tags
lockclosed
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M7.501.978c1.074 0 1.968.345 2.59 1.014c.616.664.909 1.587.909 2.642V6h1a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h1V4.636c0-1.055.293-1.979.91-2.643c.622-.67 1.517-1.015 2.591-1.015M3 13h9V7H3zM7.501 1.978c-.855 0-1.461.27-1.857.696C5.243 3.105 5 3.76 5 4.636V6h5V4.634c0-.877-.241-1.531-.642-1.962c-.395-.426-1.001-.694-1.857-.694"/></svg>

How to use the Lock Closed icon

React

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

<Icon icon="radix-icons:lock-closed" width="24" />

Vue

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

<template>
  <Icon icon="radix-icons:lock-closed" width="24" />
</template>

Svelte

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

<Icon icon="radix-icons:lock-closed" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="radix-icons:lock-closed"></iconify-icon>

HTML image

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

Related icons in Radix Icons

Lock Closed icon in other icon sets

Lock Closed icon FAQ

Is the Lock Closed icon free for commercial use?

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

How do I use the Lock Closed icon in React?

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

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

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

Browse all Radix Icons →