Skip to content

Locked

The locked icon represents a secure or protected state, often used to indicate that something is inaccessible or restricted.

Exports at 24 × 24 px

Locked icon from Huge Icons
Get Pro

Code

Locked in your framework

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

export const LockedIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="currentColor" strokeLinecap="round" strokeWidth="1.5"><path strokeLinejoin="round" d="M2.5 8.187c.104-2.1.415-3.409 1.347-4.34c.93-.932 2.24-1.243 4.34-1.347M21.5 8.187c-.104-2.1-.415-3.409-1.347-4.34c-.93-.932-2.24-1.243-4.34-1.347m0 19c2.1-.104 3.41-.415 4.34-1.346c.932-.932 1.243-2.241 1.347-4.34M8.187 21.5c-2.1-.104-3.41-.415-4.34-1.346c-.932-.932-1.243-2.241-1.347-4.34"/><path d="M9.5 10.555c0-.842-.132-2.142.376-2.9c1.123-1.673 3.504-1.45 4.344.183c.412.802.257 1.923.276 2.717m-4.996 0c-1.297 0-1.562.742-1.76 1.325c-.183.655-.37 2.22-.084 3.934c.214 1.092 1.049 1.573 1.767 1.634c.687.058 3.587.036 4.426.036c1.301 0 2.113-.286 2.495-1.597c.183-1.02.233-2.842-.072-4.007c-.404-1.165-1.22-1.325-1.776-1.325m-4.996 0c1.374-.055 4.21-.044 4.996 0"/></g>
  </svg>
);

Other libraries

Locked in 6 more libraries

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

Huge Icons

Icons that share its tags, in the same style.

  • Lock Password icon from Huge Icons
  • Locker icon from Huge Icons
  • Locker  01 icon from Huge Icons
  • Lock icon from Huge Icons
  • Lock Computer icon from Huge Icons
  • Lock Key icon from Huge Icons
  • Message Secure  01 icon from Huge Icons
  • Message Secure  02 icon from Huge Icons
  • Message Unlock  01 icon from Huge Icons
  • Ai Lock icon from Huge Icons
  • Biometric Access icon from Huge Icons
  • Database Locked icon from Huge Icons
  • Encrypt icon from Huge Icons
  • Folder Security icon from Huge Icons
  • Key  01 icon from Huge Icons
  • Key  02 icon from Huge Icons
  • Device Access icon from Huge Icons
  • Finger Print Add icon from Huge Icons
  • Key Generator Fob icon from Huge Icons
  • Lock Sync  01 icon from Huge Icons
  • Lock Sync  02 icon from Huge Icons
  • Protection Mask icon from Huge Icons
  • Security icon from Huge Icons
  • Security Lock icon from Huge Icons

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

Get Pro

Pricing

Huge Icons MCP, with Pro

Ask for Locked or any of 4,585 Huge Icons 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 icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Locked from a prompt

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

Get Pro