Skip to content

Lock

The lock icon represents security and protection, often used to denote a secure or locked state.

Exports at 24 × 24 px

Lock icon from Tabler 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" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path d="M5 13a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path d="M11 16a1 1 0 1 0 2 0a1 1 0 0 0-2 0m-3-5V7a4 4 0 1 1 8 0v4"/></g>
  </svg>
);

Tabler Icons

Icons that share its tags, in the same style.

  • Lock Bolt icon from Tabler Icons
  • Lock Cancel icon from Tabler Icons
  • Lock Check icon from Tabler Icons
  • Lock Access icon from Tabler Icons
  • Lock Access Off icon from Tabler Icons
  • Lock Bitcoin icon from Tabler Icons
  • Shield Chevron icon from Tabler Icons
  • Shield Half icon from Tabler Icons
  • Shield Lock icon from Tabler Icons
  • Shield Pin icon from Tabler Icons
  • Filter Spark icon from Tabler Icons
  • Fingerprint icon from Tabler Icons
  • Fingerprint Off icon from Tabler Icons
  • Fingerprint Scan icon from Tabler Icons
  • Home Shield icon from Tabler Icons
  • Key icon from Tabler Icons
  • Key Off icon from Tabler Icons
  • Shield icon from Tabler Icons
  • Shield Minus icon from Tabler Icons
  • Shield Off icon from Tabler Icons
  • Shield Pause icon from Tabler Icons
  • Shield Plus icon from Tabler Icons
  • Shield Question icon from Tabler Icons
  • Shield Search icon from Tabler Icons

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

Get Pro

Pricing

Tabler Icons MCP, with Pro

Ask for Lock or any of 6,033 Tabler 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