Skip to content

Lock

The lock icon represents security, protection, and restricted access.

Exports at 24 × 24 px

Lock icon from ProIcons
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"><rect width="14.478" height="12.87" x="4.761" y="8.38" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" rx="3"/><path stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M15.217 8.38V5.967A3.217 3.217 0 0 0 12 2.75v0a3.217 3.217 0 0 0-3.217 3.217V8.38"/><circle cx="12" cy="14.815" r="1.5" fill="currentColor"/></g>
  </svg>
);

ProIcons

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

  • Key icon from ProIcons
  • Shield Keyhole icon from ProIcons
  • Shield icon from ProIcons
  • Shield Checkmark icon from ProIcons
  • Mask icon from ProIcons
  • Shield Cancel icon from ProIcons
  • Door icon from ProIcons
  • Door Open icon from ProIcons
  • Lock Open icon from ProIcons
  • Road Barrier icon from ProIcons
  • Archive icon from ProIcons
  • Archive Add  2 icon from ProIcons
  • Bank icon from ProIcons
  • Copyright icon from ProIcons
  • Save icon from ProIcons
  • Laptop icon from ProIcons
  • Layers icon from ProIcons
  • Layout icon from ProIcons
  • Leaf icon from ProIcons
  • Leaf Three icon from ProIcons
  • Leaf Two icon from ProIcons
  • Library icon from ProIcons
  • Lightbulb icon from ProIcons
  • Line Diagonal icon from ProIcons

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

Get Pro

Pricing

ProIcons MCP, with Pro

Ask for Lock or any of 545 ProIcons 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