Skip to content

Lock Square

The lock-square icon represents a secure and protected item, often indicating a locked or encrypted state.

Exports at 24 × 24 px

Lock Square icon from Iconoir
Get Pro

Code

Lock Square in your framework

In any framework. Customize it above, and the code follows.

export const LockSquareIcon = (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" strokeWidth="1.5"><path strokeLinecap="round" strokeLinejoin="round" d="M14.667 12h.733a.6.6 0 0 1 .6.6v3.8a.6.6 0 0 1-.6.6H8.6a.6.6 0 0 1-.6-.6v-3.8a.6.6 0 0 1 .6-.6h.733m5.334 0V9.5c0-.833-.534-2.5-2.667-2.5S9.333 8.667 9.333 9.5V12m5.334 0H9.333"/><path d="M3 19V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"/></g>
  </svg>
);

Other libraries

Lock Square in 3 more libraries

Each library draws it its own way. Open one to compare.

Iconoir

Icons that share its tags, in the same style.

  • Lock icon from Iconoir
  • Fingerprint Xmark Circle icon from Iconoir
  • Key icon from Iconoir
  • Key Back icon from Iconoir
  • Lock Slash icon from Iconoir
  • Mobile Fingerprint icon from Iconoir
  • Health Shield icon from Iconoir
  • Package Lock icon from Iconoir
  • Private Wifi icon from Iconoir
  • Shield icon from Iconoir
  • Shield Alert icon from Iconoir
  • Shield Alt icon from Iconoir
  • Shield Broken icon from Iconoir
  • Shield Loading icon from Iconoir
  • Shield Minus icon from Iconoir
  • Shield Plus In icon from Iconoir
  • Shield Question icon from Iconoir
  • Shield Search icon from Iconoir
  • Shield Upload icon from Iconoir
  • Shield Xmark icon from Iconoir
  • Book Lock icon from Iconoir
  • Card Shield icon from Iconoir
  • Lifebelt icon from Iconoir
  • Password Cursor icon from Iconoir

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

Get Pro

Pricing

Iconoir MCP, with Pro

Ask for Lock Square or any of 1,682 Iconoir 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 Square 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 Square from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro