Key Icon
Key with a round bow and short shaft angled down left, for passwords, API keys, credentials and unlocking. Available in 4 styles (outline, solid, duotone and filled) as a React component you install with the shadcn CLI.
Preview
Install and code
Key icon in shadcn/ui components
Button
Icon button
Button group
Dropdown menu
Input group
Sidebar
Empty state
Key icon FAQ
What does this icon show?
Key with a round bow and short shaft angled down left, for passwords, API keys, credentials and unlocking. Typical uses: API key row in settings, change password action and unlock resource button.
When should I use it instead of a similar icon?
Use it for:
- Developer settings rows for API keys and access tokens, with copy and revoke in each row
- The Password and passkeys page in account security settings
- Saved logins in a password manager vault list, 1 row per site
For a settings list where every row icon is drawn as a rounded tile, use the Key Square icon. For a passcode screen that guards an app until the code is typed, use the Lock Dots icon. For the sign in link in a marketing site header, use the Entrance Left icon.
Which styles does it come in?
4 styles: Outline, Solid, Duotone and Filled. Every style is drawn on the same 24 by 24 grid and installs as its own file, so you can switch styles without touching the layout.
How do I install it with the shadcn CLI?
Copy the install command from the panel above, in the style you want, and run it in your project. The shadcn CLI adds the icon as a React component that you import and render like any other. It draws in the current text color, so your text color and size classes style it. Icon installs need a ReUI Ultimate license.
What icons go well with it?
Icons from the same family and the Security set: Key Square, Eye, Eye Slash, Face ID, Fingerprint Scanning and Lock.
When was it added?
It joined the ReUI icon library on June 30, 2026.
Icons related to Key
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Ultimate license.
When to use
- Developer settings rows for API keys and access tokens, with copy and revoke in each row
- The Password and passkeys page in account security settings
- Saved logins in a password manager vault list, 1 row per site
When not to use
- A settings list where every row icon is drawn as a rounded tile: use the Key Square icon
- A passcode screen that guards an app until the code is typed: use the Lock Dots icon
- The sign in link in a marketing site header: use the Entrance Left icon
Agent notes
- Name an icon-only button with its label, "Create API key", as the aria-label
Markdown
https://reui.io/icons/preview/key.mdMCP
get_icon("key")Install
npx shadcn@latest add @reui/icons/default/duotone/keyStart building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
Get All-Access
From $249, once. Lifetime updates.