John KuehJohn Kueh

keyhole icon

Phosphor · keyhole · MIT

Download SVG

The Phosphor keyhole icon depicts a circular opening designed to accept a key, commonly used in UIs to represent security, access, or privacy-related functions.

Common uses

  • Login or authentication buttons
  • Privacy settings toggles
  • Access control indicators

Use it in React

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

<Keyhole size={24} />

Styles

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

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

Details

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

FAQ

What does the keyhole icon represent?
It symbolizes security, access, privacy, or authentication, indicating a need for a key or permission.
How do I use the keyhole icon in React?
Import it from the library and use it as a component: import { Keyhole } from '@phosphor-icons/react'.
What is the license for Phosphor icons?
Phosphor icons are distributed under the MIT license, allowing for free usage.

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 →