Locked With Key
The locked-with-key icon represents a locked state with a key, often used to convey a sense of security, safety, and protection.
Exports at 24 × 24 px
Code
Locked With Key in your framework
In any framework. Customize it above, and the code follows.
export const LockedWithKeyIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 64 64" {...props}>
<path fill="#989897" d="M27.698 2.436C13.914 1.849 2.628 14.615 2.946 27.901c.031 1.332 1.087 2.443 2.441 2.443h2.541c.633 0 1.135-.203 1.511-.522c.563-.385.952-1.017.931-1.921c-.594-23.2 35.25-23.2 34.653 0c-.03 1.332 1.141 2.443 2.445 2.443h2.537c1.357 0 2.414-1.111 2.445-2.443c.336-14.168-10.998-24.871-24.752-25.465"/><path fill="#f79421" d="M1.786 63h51.831c.432 0 .787-.259.787-.557V26.606c0-.301-.354-.554-.787-.554H1.791c-.235 0-.414.056-.537.148c0 0-.009.009-.013.017c0 0-.018.004-.026.019a.43.43 0 0 0-.211.369v35.833c0 .299.358.558.786.558"/><g fill="#a7a7ab"><path d="M48.936 47.089c.162 2.169-1.41 9.8-4.03 9.993c-2.62.194-5.291-7.123-5.453-9.294c-.157-2.17 1.945-2.543 4.566-2.737c2.62-.192 4.76-.134 4.917 2.038m-9.073-4.479c-4.938-1.633 3.82-3.899 9.501-2.174c5.54 1.683-6.938 3.024-9.5 2.174"/><path d="M52.363 55.182c0 2.137-1.345 3.87-3.005 3.87c-1.658 0-3.003-1.733-3.003-3.87V23.716c0-2.136 1.345-3.867 3.003-3.867c1.66 0 3.005 1.731 3.005 3.867z"/><path d="M49.358 1.626c-7.54 0-13.651 6.108-13.651 13.652s6.107 13.651 13.651 13.651C56.903 28.93 63 22.82 63 15.278S56.897 1.626 49.358 1.626m.372 16.705a4.592 4.592 0 1 1-.004-9.184a4.592 4.592 0 0 1 .004 9.184"/></g><path fill="#cdcccb" d="M41.858 3.844a13.63 13.63 0 0 0-6.147 11.4c0 7.536 6.107 13.652 13.652 13.652c.131 0 .266-.019.398-.021c-13.387-6.635-10.08-20.414-7.898-25.03"/>
</svg>
);Other libraries
Locked With Key in 2 more libraries
Each library draws it its own way. Open one to compare.
Emoji One (v1)
More like it
Icons that share its tags, in the same style.
Search Emoji One (v1)
Skip the copy and paste. With Pro, your AI agent finds and installs any Emoji One (v1) icon from a prompt.
Get ProTags
Browse by tag
Locked With Key is tagged icon, security, safety and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Emoji One (v1) MCP, with Pro
Ask for Locked With Key or any of 1,262 Emoji One (v1) 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 Locked With Key icon means and where it's used, then how to install, style, label and license it.
The locked-with-key icon represents a locked state with a key, often used to convey a sense of security, safety, and protection. It is part of the Emoji One library, a popular set of emojis used in digital communication. The icon is commonly used in text messages, social media posts, and online forums to express a sense of confidentiality and restricted access. The locked-with-key icon has become a recognizable symbol in digital communication, allowing users to quickly convey a specific message or attitude.
In real-world applications, the locked-with-key icon appears in various software and platforms, such as secure login pages, social media platforms like Facebook and Twitter, and online forums like Reddit and Discord. It is often used in contexts related to security, safety, and confidentiality, such as password-protected pages, secure transactions, and private conversations.
From a UX perspective, the locked-with-key icon communicates a sense of security and protection, helping users to understand the level of access or confidentiality of a particular resource or conversation. It can also be used to add a touch of professionalism and trustworthiness to a conversation. By using the locked-with-key icon, users can quickly convey a specific message or attitude, making online communication more engaging and secure.
Locked With Key is one of 1,262 icons in Emoji One (v1), made by Emoji One and released under CC BY-SA 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 LockedWithKeyIcon to components/icons/emojione-v1-locked-with-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 LockedWithKeyIcon 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 Locked With Key icon, or any of 1,262 Emoji One (v1) icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
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 keeps its own colors in light and dark mode, so check it against both backgrounds. 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="Locked With Key", so screen readers say what it does.
Yes. LockedWithKeyIcon passes every SVG prop to the svg element, so <LockedWithKeyIcon 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 conditions: CC BY-SA 4.0 asks you to credit the author (Emoji One), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit Emoji One, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Locked With 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 icon, security, safety, protection, lock and key. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Locked With Key in another set.
4.9 out of 5 from 150+ developers
Install Locked With Key from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro