Skip to content

Lock

The lock icon represents a locking mechanism often used in user interfaces to indicate security, protection, or restricted access.

Exports at 24 × 24 px

Lock icon from Phosphor
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 256 256" {...props}>
    <path fill="currentColor" d="M208 80h-32V56a48 48 0 0 0-96 0v24H48a16 16 0 0 0-16 16v112a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16M96 56a32 32 0 0 1 64 0v24H96Zm112 152H48V96h160zm-68-56a12 12 0 1 1-12-12a12 12 0 0 1 12 12"/>
  </svg>
);

Phosphor

Icons that share its tags, in the same style.

  • Shield Slash icon from Phosphor
  • Lock Key icon from Phosphor
  • Lock Key Open icon from Phosphor
  • Shield Star icon from Phosphor
  • Lock Open icon from Phosphor
  • Lock Simple icon from Phosphor
  • Lock Simple Open icon from Phosphor
  • Arrow Down Left icon from Phosphor
  • Arrow Down Right icon from Phosphor
  • Bookmarks icon from Phosphor
  • Bookmark Simple icon from Phosphor
  • Box Arrow Down icon from Phosphor
  • Box Arrow Up icon from Phosphor
  • Cards icon from Phosphor
  • File C icon from Phosphor
  • File C Sharp icon from Phosphor
  • Flag Pennant icon from Phosphor
  • Flame icon from Phosphor
  • Flashlight icon from Phosphor
  • Folder Simple Lock icon from Phosphor
  • Handbag Simple icon from Phosphor
  • Key icon from Phosphor
  • Lamp Pendant icon from Phosphor
  • List Star icon from Phosphor

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

Get Pro

Pricing

Phosphor MCP, with Pro

Ask for Lock or any of 9,161 Phosphor 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