Skip to content

Lock

The lock icon represents security, protection, and safety.

Exports at 24 × 24 px

Lock icon from Subway Icon Set
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 512 512" {...props}>
    <path fill="currentColor" d="M418.9 232.7h-23.3V69.8c0-38.6-31.3-69.8-69.8-69.8H186.2c-38.6 0-69.8 31.3-69.8 69.8v162.9H93.1c-12.8 0-23.3 10.4-23.3 23.3v232.7c0 12.9 10.4 23.3 23.3 23.3h325.8c12.8 0 23.3-10.4 23.3-23.3V256c0-12.9-10.4-23.3-23.3-23.3m-69.8 0H162.9V69.8c0-12.9 10.4-23.3 23.3-23.3h139.6c12.8 0 23.3 10.4 23.3 23.3z"/>
  </svg>
);

Subway Icon Set

Icons that share its tags, then the ones next to it in Subway Icon Set, in the same style.

  • Lock  1 icon from Subway Icon Set
  • Lock  2 icon from Subway Icon Set
  • Cover icon from Subway Icon Set
  • Key icon from Subway Icon Set
  • Unlock icon from Subway Icon Set
  • Unlock  1 icon from Subway Icon Set
  • Cain icon from Subway Icon Set
  • Eye icon from Subway Icon Set
  • Id Card icon from Subway Icon Set
  • Id Card  1 icon from Subway Icon Set
  • Save icon from Subway Icon Set
  • Left Arrow icon from Subway Icon Set
  • Left Arrow  1 icon from Subway Icon Set
  • Left Down Corner Arrow icon from Subway Icon Set
  • Left Down Corner Arrow  1 icon from Subway Icon Set
  • Left Up Corner Arrow icon from Subway Icon Set
  • Left Up Corner Arrow  1 icon from Subway Icon Set
  • Like icon from Subway Icon Set
  • Location icon from Subway Icon Set
  • Location  1 icon from Subway Icon Set
  • Location  2 icon from Subway Icon Set
  • Location  3 icon from Subway Icon Set
  • Magic icon from Subway Icon Set
  • Mail Icon icon from Subway Icon Set

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

Get Pro

Pricing

Subway Icon Set MCP, with Pro

Ask for Lock or any of 306 Subway Icon Set 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