John KuehJohn Kueh

lock icon

Phosphor · lock · MIT

Download SVG

The Phosphor lock icon visually represents a closed padlock, commonly used in user interfaces to signify security, privacy, or restricted access.

Common uses

  • Indicate a feature requires authentication.
  • Show that data is encrypted.
  • Represent a locked or private account setting.

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { Lock } from '@phosphor-icons/react';

<Lock size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<Lock size={24} />
thin
<Lock size={24} weight="thin" />
light
<Lock size={24} weight="light" />
bold
<Lock size={24} weight="bold" />
fill
<Lock size={24} weight="fill" />
duotone
<Lock size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
objects
Keywords
padlocksecuritysecuredauthenticationauthenticatedloginlockedencryptedencryptionprivacyprivateobjectssystemlock

FAQ

What does the lock icon represent?
It represents a padlock, symbolizing security, privacy, or restricted access.
How do I use the lock icon in React?
Import it from the library and use it as a component: import { Lock } from '@phosphor-icons/react'.
What is the license for Phosphor icons?
Phosphor icons are distributed under the MIT license, allowing for free use.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →