Skip to content

Lock

The lock icon represents a lock, a symbol of security and protection.

Exports at 24 × 24 px

Lock icon from Material Icon Theme
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 32 32" {...props}>
    <path fill="#ffd54f" d="M25 12h-3V8a6 6 0 0 0-12 0v4H7a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1M14 8a2 2 0 0 1 4 0v4h-4Zm2 17a4 4 0 1 1 4-4a4 4 0 0 1-4 4"/>
  </svg>
);

Material Icon Theme

Icons that share its tags, in the same style.

  • Folder Secure icon from Material Icon Theme
  • Folder Guard icon from Material Icon Theme
  • Folder Guard Open icon from Material Icon Theme
  • Folder Private icon from Material Icon Theme
  • Folder Salt icon from Material Icon Theme
  • Folder Salt Open icon from Material Icon Theme
  • Folder Secure Open icon from Material Icon Theme
  • Otne icon from Material Icon Theme
  • Verified icon from Material Icon Theme
  • Certificate icon from Material Icon Theme
  • Folder Keys Open icon from Material Icon Theme
  • Opa icon from Material Icon Theme
  • Deepsource icon from Material Icon Theme
  • Dependabot icon from Material Icon Theme
  • Dependencies Update icon from Material Icon Theme
  • Folder Backup icon from Material Icon Theme
  • Folder Backup Open icon from Material Icon Theme
  • Folder Certificate icon from Material Icon Theme
  • Folder Keys icon from Material Icon Theme
  • Folder Policy icon from Material Icon Theme
  • Folder Policy Open icon from Material Icon Theme
  • Folder Sandbox Open icon from Material Icon Theme
  • Gcp icon from Material Icon Theme
  • Hack icon from Material Icon Theme

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

Get Pro

Pricing

Material Icon Theme MCP, with Pro

Ask for Lock or any of 1,136 Material Icon Theme 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