Skip to content

Lock

The lock icon represents a security or authentication symbol, commonly used to indicate protection or restriction.

Exports at 24 × 24 px

Lock icon from IconaMoon
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"><path strokeLinecap="round" strokeWidth="2" d="M8 10V7a4 4 0 1 1 8 0v3"/><path strokeLinejoin="round" strokeWidth="2" d="M5 10h14v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path strokeLinejoin="round" strokeWidth="3" d="M14.5 15.5h.01v.01h-.01z"/></g>
  </svg>
);

IconaMoon

Icons that share its tags, in the same style.

  • Lock Off icon from IconaMoon
  • Shield icon from IconaMoon
  • Sign Times icon from IconaMoon
  • Sign Times Circle icon from IconaMoon
  • Arrow Left 5 Circle icon from IconaMoon
  • Arrow Right 4 Square icon from IconaMoon
  • History icon from IconaMoon
  • News icon from IconaMoon
  • Number 1 Square icon from IconaMoon
  • Number  2 icon from IconaMoon
  • Number 2 Circle icon from IconaMoon
  • Shield Off icon from IconaMoon
  • Shield Yes icon from IconaMoon
  • Ticket icon from IconaMoon
  • Arrow Bottom Left  1 icon from IconaMoon
  • Arrow Bottom Left  2 icon from IconaMoon
  • Arrow Bottom Left 3 Square icon from IconaMoon
  • Arrow Bottom Left 4 Square icon from IconaMoon
  • Arrow Bottom Left 5 Circle icon from IconaMoon
  • Arrow Bottom Left 6 Circle icon from IconaMoon
  • Arrow Bottom Right  1 icon from IconaMoon
  • Arrow Bottom Right 3 Square icon from IconaMoon
  • Arrow Bottom Right 4 Square icon from IconaMoon
  • Arrow Bottom Right 5 Circle icon from IconaMoon

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

Get Pro

Pricing

IconaMoon MCP, with Pro

Ask for Lock or any of 1,781 IconaMoon 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