Skip to content

Lock

The lock icon represents security, protection, and privacy.

Exports at 24 × 24 px

Lock icon from css.gg
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" {...props}>
    <path fill="currentColor" fillRule="evenodd" d="M18 10.5a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3v-3a6 6 0 1 1 12 0zm-6-7a4 4 0 0 1 4 4v3H8v-3a4 4 0 0 1 4-4m6 9H6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1" clipRule="evenodd"/>
  </svg>
);

css.gg

Icons that share its tags, in the same style.

  • Shield icon from css.gg
  • Compress Left icon from css.gg
  • Compress Right icon from css.gg
  • Compress V icon from css.gg
  • Keyhole icon from css.gg
  • Lock Unlock icon from css.gg
  • Align Middle icon from css.gg
  • Align Right icon from css.gg
  • Align Top icon from css.gg
  • Anchor icon from css.gg
  • Apple Watch icon from css.gg
  • Arrange Back icon from css.gg
  • Arrange Front icon from css.gg
  • Arrow Align H icon from css.gg
  • Arrow Align V icon from css.gg
  • Arrow Bottom Left icon from css.gg
  • Arrow Left R icon from css.gg
  • Arrow Long Down icon from css.gg
  • Arrow Long Left icon from css.gg
  • Arrows Merge Alt V icon from css.gg
  • Arrows Scroll H icon from css.gg
  • Arrows Scroll V icon from css.gg
  • Arrows Shrink H icon from css.gg
  • Arrows Shrink V icon from css.gg

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

Get Pro

Pricing

css.gg MCP, with Pro

Ask for Lock or any of 704 css.gg 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