Skip to content

Lock

The lock icon represents security, protection, or restriction.

Exports at 24 × 24 px

Lock icon from Mage 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}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M17 9.688H7c-1.38 0-2.5 1.035-2.5 2.312v6.938c0 1.277 1.12 2.312 2.5 2.312h10c1.38 0 2.5-1.035 2.5-2.312V12c0-1.277-1.12-2.312-2.5-2.312m-9.625 0V7.374a4.625 4.625 0 0 1 9.25 0v2.313m-8.094 8.094h6.938"/>
  </svg>
);

Mage Icons

Icons that share its tags, in the same style.

  • Lock Square icon from Mage Icons
  • Shield Check icon from Mage Icons
  • Shield Cross icon from Mage Icons
  • Shield Plus icon from Mage Icons
  • Shield Question Mark icon from Mage Icons
  • Shiled Minus icon from Mage Icons
  • Security Shield icon from Mage Icons
  • Home Security Lock icon from Mage Icons
  • Hospital Shield icon from Mage Icons
  • Unlocked icon from Mage Icons
  • Arrow Down Left Square icon from Mage Icons
  • Arrow Down Right icon from Mage Icons
  • Arrow Down Right Circle icon from Mage Icons
  • Arrow Down Right Square icon from Mage Icons
  • Arrow Down Square icon from Mage Icons
  • Arrow Left icon from Mage Icons
  • Arrow Up icon from Mage Icons
  • Arrow Up Circle icon from Mage Icons
  • Arrow Up Left icon from Mage Icons
  • Arrow Up Left Circle icon from Mage Icons
  • Arrow Up Left Square icon from Mage Icons
  • Arrow Up Right icon from Mage Icons
  • Arrow Up Right Circle icon from Mage Icons
  • Battery Empty icon from Mage Icons

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

Get Pro

Pricing

Mage Icons MCP, with Pro

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