Skip to content

Lock

The lock icon represents security, protection, and safety.

Exports at 24 × 24 px

Lock icon from Prime 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" {...props}>
    <path fill="currentColor" d="M17 10.25h-.25V8a4.75 4.75 0 0 0-9.5 0v2.25H7A2.75 2.75 0 0 0 4.25 13v5A2.75 2.75 0 0 0 7 20.75h10A2.75 2.75 0 0 0 19.75 18v-5A2.75 2.75 0 0 0 17 10.25M8.75 8a3.25 3.25 0 0 1 6.5 0v2.25h-6.5Zm9.5 10A1.25 1.25 0 0 1 17 19.25H7A1.25 1.25 0 0 1 5.75 18v-5A1.25 1.25 0 0 1 7 11.75h10A1.25 1.25 0 0 1 18.25 13Z"/>
  </svg>
);

Prime Icons

Icons that share its tags, then the ones next to it in Prime Icons, in the same style.

  • Key icon from Prime Icons
  • Shield icon from Prime Icons
  • Eye Slash icon from Prime Icons
  • Sign In icon from Prime Icons
  • Save icon from Prime Icons
  • Id Card icon from Prime Icons
  • Lock Open icon from Prime Icons
  • Sign Out icon from Prime Icons
  • Unlock icon from Prime Icons
  • Verified icon from Prime Icons
  • Inbox icon from Prime Icons
  • Indian Rupee icon from Prime Icons
  • Info icon from Prime Icons
  • Info Circle icon from Prime Icons
  • Instagram icon from Prime Icons
  • Language icon from Prime Icons
  • Lightbulb icon from Prime Icons
  • Link icon from Prime Icons
  • Linkedin icon from Prime Icons
  • List icon from Prime Icons
  • List Check icon from Prime Icons
  • Map icon from Prime Icons
  • Map Marker icon from Prime Icons
  • Mars icon from Prime Icons

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

Get Pro

Pricing

Prime Icons MCP, with Pro

Ask for Lock or any of 313 Prime 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