Skip to content
shadcn.io

Key

The key icon represents a key, symbolizing access, security, and control, often used in contexts related to locking, unlocking, or authentication.

Add shadcn.io to your AI agent. · Pro It installs Key, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Key icon from OpenMoji
Get Pro

4,481 in OpenMojiCC BY-SA 4.0 license (opens in a new tab)Free to copy and download

Code

Key in your framework

In any framework. Customize it above, and the code follows.

export const KeyIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
    <path fill="#f4aa41" d="M33.536 31.991c-1.402-4.288-.225-9.41 3.428-13.063c5.018-5.018 12.808-5.364 17.4-.773s4.244 12.381-.774 17.4c-4.057 4.056-10.434 5.512-14.268 2.588"/><path fill="#f4aa41" stroke="#f4aa41" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2" d="m33.652 31.736l-2.434 2.451l-16.574 16.327v7.146h6.399v-4.576h5.011v-5.782h5.986l2.351-2.373v-4.302h1.971l3.09-3.09"/><path fill="#e27022" d="m15.985 53.346l.001-1.907l15.912-15.565l.952.974z"/><circle cx="48.52" cy="23.998" r="3.952" fill="#e27022"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path d="M30.735 34.656L14.303 50.681v7.24h7.565v-4.636h5.125v-5.858h5.098l2.405-2.404v-4.358h2.015"/><circle cx="48.52" cy="23.998" r="3.952"/><path d="M34.226 31.178c-1.43-4.238-.347-9.22 3.18-12.695c4.845-4.771 12.465-4.889 17.022-.263s4.322 12.244-.523 17.016c-3.917 3.857-9.648 4.673-14.108 2.4"/></g>
  </svg>
);

Other libraries

Key in 8 more libraries

Each library draws it its own way. Open one to compare.

  • Key icon from Material Symbols
  • Key icon from Material Symbols Light
  • Key icon from Arcticons
  • Key icon from Phosphor
  • Key icon from Material Design Icons
  • Key icon from Tabler Icons
  • Key icon from Game Icons
  • Key icon from Streamline

OpenMoji

Icons that share its tags, in the same style.

  • Locked icon from OpenMoji
  • Locked With Key icon from OpenMoji
  • Locked With Pen icon from OpenMoji
  • Old Key icon from OpenMoji
  • Unlocked icon from OpenMoji
  • Couple With Heart Woman Man Dark Skin Tone Medium Dark Skin Tone icon from OpenMoji
  • Couple With Heart Woman Man Dark Skin Tone Medium Skin Tone icon from OpenMoji
  • Couple With Heart Woman Man Medium Dark Skin Tone icon from OpenMoji
  • Couple With Heart Woman Man Medium Dark Skin Tone Dark Skin Tone icon from OpenMoji
  • Couple With Heart Woman Man Medium Skin Tone Medium Dark Skin Tone icon from OpenMoji
  • Couple With Heart Woman Woman icon from OpenMoji
  • Couple With Heart Woman Woman Dark Skin Tone icon from OpenMoji
  • Couple With Heart Woman Woman Dark Skin Tone Medium Dark Skin Tone icon from OpenMoji
  • Couple With Heart Woman Woman Dark Skin Tone Medium Skin Tone icon from OpenMoji
  • Cut Of Meat icon from OpenMoji
  • Detective Medium Skin Tone icon from OpenMoji
  • Fox icon from OpenMoji
  • Fracture Leg icon from OpenMoji
  • Framed Picture icon from OpenMoji
  • Free Button icon from OpenMoji
  • French Fries icon from OpenMoji
  • French Press icon from OpenMoji
  • Fried Shrimp icon from OpenMoji
  • Frog icon from OpenMoji

Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.

Get Pro

Tags

Browse by tag

Key is tagged emoji, security, multicolor and 3 more. Related tags follow; each opens its icons from every library.

Pricing

OpenMoji MCP, with Pro

Ask for Key or any of 4,481 OpenMoji icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Key icon means and where it's used, then how to install, style and license it.

Install Key from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro