Skip to content

Lock Closed

The lock-closed icon represents a locked or secured state, often used to indicate that access is restricted or protected.

Exports at 24 × 24 px

Lock Closed icon from Zondicons
Get Pro

Code

Lock Closed in your framework

In any framework. Customize it above, and the code follows.

export const LockClosedIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" {...props}>
    <path fill="currentColor" d="M4 8V6a6 6 0 1 1 12 0v2h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm5 6.73V17h2v-2.27a2 2 0 1 0-2 0M7 6v2h6V6a3 3 0 0 0-6 0"/>
  </svg>
);

Other libraries

Lock Closed in 8 more libraries

Each library draws it its own way. Open one to compare.

Zondicons

Icons that share its tags, in the same style.

  • Lock Open icon from Zondicons
  • Key icon from Zondicons
  • View Hide icon from Zondicons
  • Brightness Up icon from Zondicons
  • Layers icon from Zondicons
  • Library icon from Zondicons
  • Light Bulb icon from Zondicons
  • Link icon from Zondicons
  • List icon from Zondicons
  • Location Restroom icon from Zondicons
  • Location Shopping icon from Zondicons
  • Map icon from Zondicons
  • Menu icon from Zondicons
  • Mic icon from Zondicons
  • Minus Solid icon from Zondicons
  • Mobile Devices icon from Zondicons
  • Browser Window icon from Zondicons
  • Browser Window New icon from Zondicons
  • Browser Window Open icon from Zondicons
  • Bug icon from Zondicons
  • Buoy icon from Zondicons
  • Calculator icon from Zondicons
  • Calendar icon from Zondicons
  • Camera icon from Zondicons

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

Get Pro

Pricing

Zondicons MCP, with Pro

Ask for Lock Closed or any of 297 Zondicons 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 Closed 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 Closed from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro