Key
The Key icon represents a symbol used to indicate a key or access.
Exports at 24 × 24 px
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 64 64" {...props}>
<path fill="currentColor" d="M57 7.025c-6.666-6.699-17.475-6.7-24.142 0c-5.458 5.486-6.439 13.762-2.961 20.259c-.011.01-.026.011-.036.021L5.476 51.98L2 60.376L3.604 62l6.285-.586l4.411-.497l1.45-1.468l.006-1.992l1.48-1.498l.005-1.985l1.479-1.497h1.953l1.472-1.49h1.96l1.961-1.984l-.015-1.971l1.479-1.499l.006-1.978l9.188-9.297c.013-.014.015-.033.025-.046c6.479 3.56 14.764 2.594 20.25-2.92c6.668-6.701 6.668-17.566.001-24.267M8.872 53.507c-.517.523-.673.233-.941-.04c-.271-.271-.557-.43-.04-.953l21.645-21.92c.518-.524.671-.232.939.04c.271.273.559.429.04.953zm24.585-18.941l-21.644 21.92c-.517.523-.673.232-.942-.04c-.269-.274-.556-.431-.039-.954l21.645-21.92c.518-.523.671-.231.939.041c.272.274.559.428.041.953m11.473-22.76a5.15 5.15 0 0 1 7.314 0c2.021 2.03 2.021 5.322.001 7.353s-5.295 2.03-7.315 0a5.22 5.22 0 0 1 0-7.353"/>
</svg>
);Other libraries
Key in 8 more libraries
Each library draws it its own way. Open one to compare.
Emoji One (Monotone)
More like it
Icons that share its tags, in the same style.
Search Emoji One (Monotone)
Skip the copy and paste. With Pro, your AI agent finds and installs any Emoji One (Monotone) icon from a prompt.
Get ProTags
Browse by tag
Key is tagged emoji, access, lock and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Emoji One (Monotone) MCP, with Pro
Ask for Key or any of 1,403 Emoji One (Monotone) 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.
- 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, label and license it.
The Key icon represents a symbol used to indicate a key or access. It originates from the physical world and is often used in various contexts to signify unlocking or access. This icon is part of the Emoji One Monotone library, which provides a wide range of emojis in a monotone style. The Key icon is commonly used in digital communication to convey information about security or access.
In real-world applications, this icon appears in software and platforms related to security and access, such as password managers, authentication systems, and digital locking mechanisms. For example, it may be used to represent a password or to indicate access to a secure system.
From a UX perspective, the Key icon communicates information about security and access. It helps users understand how to access a particular system or resource and what security measures are in place. This icon is often used in conjunction with other icons and visual elements to create a clear and intuitive user interface.
Key is one of 1,403 icons in Emoji One (Monotone), made by Emoji One and released under CC BY 4.0. It is drawn on a 64 × 64 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds KeyIcon to components/icons/emojione-monotone-key.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed KeyIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Key icon, or any of 1,403 Emoji One (Monotone) icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 64 × 64 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Key", so screen readers say what it does.
Yes. KeyIcon passes every SVG prop to the svg element, so <KeyIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Emoji One) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Emoji One, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Key. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are emoji, access, lock, password, monotone and one. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Key in another set.
4.9 out of 5 from 150+ developers
Install Key from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro