Skip to content
shadcn.io

Lock

The lock icon represents a symbol of security and protection, often used to indicate a secure or private area.

Add shadcn.io to your AI agent. · Pro It installs Lock, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Lock icon from Lets Icons
Get Pro

1,544 in Lets IconsCC BY 4.0 license (opens in a new tab)Free to copy and download

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" fill="none" stroke="currentColor" {...props}>
    <g fill="none"><path stroke="currentColor" strokeWidth="2" d="M4 13c0-1.886 0-2.828.586-3.414S6.114 9 8 9h8c1.886 0 2.828 0 3.414.586S20 11.114 20 13v2c0 2.828 0 4.243-.879 5.121C18.243 21 16.828 21 14 21h-4c-2.828 0-4.243 0-5.121-.879C4 19.243 4 17.828 4 15z"/><path stroke="currentColor" strokeLinecap="round" strokeWidth="2" d="M16 8V7a4 4 0 0 0-8 0v1"/><circle cx="12" cy="15" r="2" fill="currentColor"/></g>
  </svg>
);

Other libraries

Lock in 8 more libraries

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

  • Lock icon from Material Symbols
  • Lock icon from Material Symbols Light
  • Lock icon from Arcticons
  • Lock icon from Phosphor
  • Lock icon from Material Design Icons
  • Lock icon from Tabler Icons
  • Lock icon from Huge Icons
  • Lock icon from IconPark Outline

Lets Icons

Icons that share its tags, in the same style.

  • Lock Alt icon from Lets Icons
  • Key icon from Lets Icons
  • Mask icon from Lets Icons
  • Unlock icon from Lets Icons
  • User Scan icon from Lets Icons
  • Key Alt icon from Lets Icons
  • Arhive Alt Small Lock icon from Lets Icons
  • Arrow Alt Ldown icon from Lets Icons
  • Arrow Alt Ldown Alt icon from Lets Icons
  • Bed icon from Lets Icons
  • Bell icon from Lets Icons
  • Bell Pin icon from Lets Icons
  • Box icon from Lets Icons
  • Box Alt icon from Lets Icons
  • Desktop icon from Lets Icons
  • Direction Alt  3 icon from Lets Icons
  • Done All Round icon from Lets Icons
  • Done Ring Round icon from Lets Icons
  • Down icon from Lets Icons
  • Download icon from Lets Icons
  • Download Circle icon from Lets Icons
  • Folder Search icon from Lets Icons
  • Folder Send icon from Lets Icons
  • Home icon from Lets Icons

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

Get Pro

Tags

Browse by tag

Lock is tagged UI, interface, UX and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Lets Icons MCP, with Pro

Ask for Lock or any of 1,544 Lets 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Lock from a prompt

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

Get Pro