Skip to content

Lock

The lock icon represents security, protection, and access control functionality in authentication systems and privacy-focused user interfaces.

Exports at 24 × 24 px

Lock icon from Lucide
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" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></g>
  </svg>
);

Lucide

Icons that share its tags, in the same style.

  • Door Closed Locked icon from Lucide
  • Shield icon from Lucide
  • Book Key icon from Lucide
  • Earth Lock icon from Lucide
  • Key icon from Lucide
  • Brick Wall Shield icon from Lucide
  • Cctv icon from Lucide
  • Door Closed icon from Lucide
  • File Key icon from Lucide
  • Folder Key icon from Lucide
  • Folder Lock icon from Lucide
  • Book Lock icon from Lucide
  • Brick Wall icon from Lucide
  • Fingerprint icon from Lucide
  • Key Round icon from Lucide
  • Lock Keyhole icon from Lucide
  • Log In icon from Lucide
  • Message Square Lock icon from Lucide
  • Vault icon from Lucide
  • Alarm Smoke icon from Lucide
  • Fence icon from Lucide
  • Globe Lock icon from Lucide
  • User Lock icon from Lucide
  • Bell Electric icon from Lucide

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

Get Pro

Pricing

Lucide MCP, with Pro

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