John KuehJohn Kueh

key icon

Phosphor · key · MIT

Download SVG

The Phosphor key icon depicts a physical key, commonly used in UI to represent actions or concepts related to access, security, or authentication.

Common uses

  • Login or authentication buttons
  • Password reset functionality
  • Security settings sections

Use it in React

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

<Key size={24} />

Styles

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

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

Details

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

FAQ

What is the key icon used for?
It signifies actions or areas related to security, access control, or authentication, such as logging in or managing passwords.
How do I use the key icon in React?
Import it from the library and use it as a component: import { Key } from '@phosphor-icons/react'; <Key />
What is the license for Phosphor icons?
Phosphor icons are distributed under the MIT license, allowing for free use in both personal and commercial projects.

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 →