Skip to content

Lock

The lock icon represents security, protection, or restriction, often used to indicate a secure or locked state.

Exports at 24 × 24 px

Lock icon from IcoMoon Free
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 16 16" {...props}>
    <path fill="currentColor" d="M9.25 7H9V4c0-1.654-1.346-3-3-3H4C2.346 1 1 2.346 1 4v3H.75a.753.753 0 0 0-.75.75v7.5c0 .412.338.75.75.75h8.5c.412 0 .75-.338.75-.75v-7.5A.753.753 0 0 0 9.25 7M3 4c0-.551.449-1 1-1h2c.551 0 1 .449 1 1v3H3z"/>
  </svg>
);

IcoMoon Free

Icons that share its tags, in the same style.

  • List 2 icon from IcoMoon Free
  • Location icon from IcoMoon Free
  • Location 2 icon from IcoMoon Free
  • Loop icon from IcoMoon Free
  • Loop 2 icon from IcoMoon Free
  • Ltr icon from IcoMoon Free
  • Magic Wand icon from IcoMoon Free
  • Magnet icon from IcoMoon Free
  • Mail icon from IcoMoon Free
  • Shield icon from IcoMoon Free
  • Box Remove icon from IcoMoon Free
  • Briefcase icon from IcoMoon Free
  • Brightness Contrast icon from IcoMoon Free
  • Bubble icon from IcoMoon Free
  • Bubble 2 icon from IcoMoon Free
  • Bubbles icon from IcoMoon Free
  • Bubbles 2 icon from IcoMoon Free
  • Bubbles 3 icon from IcoMoon Free
  • Bubbles 4 icon from IcoMoon Free
  • Bug icon from IcoMoon Free
  • Eye icon from IcoMoon Free
  • Eye Minus icon from IcoMoon Free
  • Eye Plus icon from IcoMoon Free
  • Unlocked icon from IcoMoon Free

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

Get Pro

Pricing

IcoMoon Free MCP, with Pro

Ask for Lock or any of 491 IcoMoon Free 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