Skip to content
shadcn.io

Lock

The 'lock' icon represents a symbol of security, protection, or safety, used to indicate a secure connection or authentication.

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 Foundation
Get Pro

283 in FoundationMIT licenseFree 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 100 100" {...props}>
    <path fill="currentColor" d="M82.105 44.218h-8.858v-8.431q.004-.055.003-.102c0-13.073-10.636-23.71-23.713-23.71c-13.073 0-23.71 10.637-23.71 23.71v8.533h-7.931a2.62 2.62 0 0 0-2.621 2.621v38.565a2.62 2.62 0 0 0 2.621 2.621h64.21a2.62 2.62 0 0 0 2.621-2.621V46.839a2.62 2.62 0 0 0-2.622-2.621m-42.314-8.533c0-5.375 4.371-9.741 9.746-9.741c5.341 0 9.695 4.32 9.747 9.649l-.003.031h.003v8.594H39.791z"/>
  </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

Foundation

Icons that share its tags, then the ones next to it in Foundation, in the same style.

  • Eye icon from Foundation
  • Shield icon from Foundation
  • Safety Cone icon from Foundation
  • Save icon from Foundation
  • Sheriff Badge icon from Foundation
  • Folder Lock icon from Foundation
  • Unlock icon from Foundation
  • No Smoking icon from Foundation
  • Info icon from Foundation
  • Italic icon from Foundation
  • Key icon from Foundation
  • Laptop icon from Foundation
  • Layout icon from Foundation
  • Lightbulb icon from Foundation
  • Like icon from Foundation
  • Link icon from Foundation
  • List icon from Foundation
  • List Bullet icon from Foundation
  • List Number icon from Foundation
  • List Thumbnails icon from Foundation
  • Loop icon from Foundation
  • Magnifying Glass icon from Foundation
  • Mail icon from Foundation
  • Male icon from Foundation

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

Get Pro

Tags

Browse by tag

Lock is tagged security, safety, protection and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Foundation MCP, with Pro

Ask for Lock or any of 283 Foundation 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