Skip to content
shadcn.io

Lock

The lock icon represents security, protection, and safety, often used to indicate that data or a system is secure.

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 21 × 24 px

Lock icon from WebHostingHub Glyphs

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="21" height="24" viewBox="0 0 896 1024" {...props}>
    <path fill="currentColor" d="M832 1024H64q-26 0-45-18.5T0 960V512q0-27 19-45.5T64 448h64V320q0-87 43-160.5T287.5 43T448 0t160.5 43T725 159.5T768 320v128h64q27 0 45.5 18.5T896 512v448q0 27-18.5 45.5T832 1024m-512-64h256l-81-201q36-15 58.5-47t22.5-72q0-53-37.5-90.5T448 512t-90.5 37.5T320 640q0 40 22.5 72t58.5 47zm320-640q0-80-56-136t-135.5-56t-136 56T256 320v128h384z"/>
  </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

WebHostingHub Glyphs

Icons that share its tags, in the same style.

  • Unlock icon from WebHostingHub Glyphs
  • Umbrella icon from WebHostingHub Glyphs
  • Circlex icon from WebHostingHub Glyphs
  • Firewall icon from WebHostingHub Glyphs
  • Navigation icon from WebHostingHub Glyphs
  • Password icon from WebHostingHub Glyphs
  • Squares icon from WebHostingHub Glyphs
  • Windowseight icon from WebHostingHub Glyphs
  • Antivirus icon from WebHostingHub Glyphs
  • Antivirusalt icon from WebHostingHub Glyphs
  • Arrowdown icon from WebHostingHub Glyphs
  • Arrowleft icon from WebHostingHub Glyphs
  • Arrowright icon from WebHostingHub Glyphs
  • Arrowup icon from WebHostingHub Glyphs
  • Bringforward icon from WebHostingHub Glyphs
  • Bringtofront icon from WebHostingHub Glyphs
  • Buttona icon from WebHostingHub Glyphs
  • Buttonb icon from WebHostingHub Glyphs
  • Buttonx icon from WebHostingHub Glyphs
  • Buttony icon from WebHostingHub Glyphs
  • Circleleft icon from WebHostingHub Glyphs
  • Circleloaderempty icon from WebHostingHub Glyphs
  • Circleloaderfive icon from WebHostingHub Glyphs
  • Circleloaderfour icon from WebHostingHub Glyphs

Skip the copy and paste. With Pro, your AI agent finds and installs any WebHostingHub Glyphs 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

WebHostingHub Glyphs MCP, with Pro

Ask for Lock or any of 2,125 WebHostingHub Glyphs 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