Skip to content

Lock

The lock icon represents security, protection, and safety, often used to denote a secure or protected area.

Exports at 24 × 24 px

Lock icon from Huge Icons
Get Pro

Code

Lock in your framework

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

export const LockIcon = (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" strokeWidth="1.5"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10Z"/><path strokeLinecap="round" d="M12 13a2 2 0 1 0 0-4a2 2 0 0 0 0 4Zm0 0v3"/></g>
  </svg>
);

Huge Icons

Icons that share its tags, in the same style.

  • Lock Key icon from Huge Icons
  • Lock Computer icon from Huge Icons
  • Lock Password icon from Huge Icons
  • Locked icon from Huge Icons
  • Locker icon from Huge Icons
  • Locker  01 icon from Huge Icons
  • Message Secure  01 icon from Huge Icons
  • Message Secure  02 icon from Huge Icons
  • Square Lock Password icon from Huge Icons
  • Key  01 icon from Huge Icons
  • Key  02 icon from Huge Icons
  • Message Unlock  01 icon from Huge Icons
  • Ai Lock icon from Huge Icons
  • Biometric Access icon from Huge Icons
  • Encrypt icon from Huge Icons
  • Folder Security icon from Huge Icons
  • Key Generator Fob icon from Huge Icons
  • Pin Code icon from Huge Icons
  • Security icon from Huge Icons
  • Security Lock icon from Huge Icons
  • Security Password icon from Huge Icons
  • Shield  01 icon from Huge Icons
  • Shield  02 icon from Huge Icons
  • Square Lock  01 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 Lock 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 Lock 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 Lock from a prompt

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

Get Pro