Skip to content

Lock

The lock icon represents a symbol of security, protection, and safety, often used to indicate that something is secure, protected, or requires 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 Gravity UI Icons
Get Pro

744 in Gravity UI IconsMIT 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 16 16" {...props}>
    <path fill="currentColor" fillRule="evenodd" d="M10.5 6V5a2.5 2.5 0 0 0-5 0v1zM4 5v1a3 3 0 0 0-3 3v3a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3V5a4 4 0 0 0-8 0m6.5 2.5H12A1.5 1.5 0 0 1 13.5 9v3a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 12V9A1.5 1.5 0 0 1 4 7.5zm-1.75 2a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0z" clipRule="evenodd"/>
  </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

Gravity UI Icons

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

  • Persons Lock icon from Gravity UI Icons
  • Shield icon from Gravity UI Icons
  • Lock Open icon from Gravity UI Icons
  • Shield Keyhole icon from Gravity UI Icons
  • Vault icon from Gravity UI Icons
  • Shield Check icon from Gravity UI Icons
  • Shield Exclamation icon from Gravity UI Icons
  • Fingerprint icon from Gravity UI Icons
  • Key icon from Gravity UI Icons
  • Umbrella icon from Gravity UI Icons
  • Curly Brackets Lock icon from Gravity UI Icons
  • Eye icon from Gravity UI Icons
  • Eye Dashed icon from Gravity UI Icons
  • Eye Slash icon from Gravity UI Icons
  • Folder Keyhole icon from Gravity UI Icons
  • Folder Lock icon from Gravity UI Icons
  • Seal Check icon from Gravity UI Icons
  • Life Ring icon from Gravity UI Icons
  • List Check Lock icon from Gravity UI Icons
  • Check Double icon from Gravity UI Icons
  • Cloud Check icon from Gravity UI Icons
  • Cloud Slash icon from Gravity UI Icons
  • Letter A Underline icon from Gravity UI Icons
  • Letter Group icon from Gravity UI Icons

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

Get Pro

Tags

Browse by tag

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

Pricing

Gravity UI Icons MCP, with Pro

Ask for Lock or any of 744 Gravity UI 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