Skip to content

Lock

The lock icon represents security, authentication, and access control in digital interfaces.

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 Flat UI Icons
Get Pro

100 in Flat 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="21" height="24" viewBox="0 0 88 100" {...props}>
    <path fill="#F1C40E" d="M4 39.997h80a4 4 0 0 1 4 4v52a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4v-52a4 4 0 0 1 4-4"/><path fill="#FFF55C" d="M4 35.997h80a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4v-5a4 4 0 0 1 4-4"/><path fill="#364B5E" d="M73 38.997c-4.418 0-8 1.567-8 3.5s3.582 3.5 8 3.5s8-1.567 8-3.5s-3.582-3.5-8-3.5m-58 0c-4.418 0-8 1.567-8 3.5s3.582 3.5 8 3.5s8-1.567 8-3.5s-3.582-3.5-8-3.5"/><path fill="#EBEDEE" d="M44 0C24.701 0 9 14.709 9 34.019v7.978c0 .553 2.687 2 6 2s6-1.447 6-2l-.021-.071v-7.907c0-12.701 10.327-22.034 23.021-22.034c12.693 0 23.021 9.333 23.021 22.034v7.907l-.021.071c0 .553 2.688 2 6 2s6-1.447 6-2v-7.978C79 14.709 63.299 0 44 0"/><path fill="#BDC3C7" d="M44 5.999c-15.99 0-29 13.091-29 29.183v8.815c3.313 0 6-1.447 6-2l-.021-.071v-7.907c0-12.701 10.327-22.034 23.021-22.034c12.693 0 23.021 9.333 23.021 22.034v7.907l-.021.071c0 .553 2.688 2 6 2v-8.815C73 19.091 59.99 5.999 44 5.999"/><path fill="#D8B00C" d="M0 95.998a4 4 0 0 0 4 4h80a4 4 0 0 0 4-4v-3H0z"/><path fill="#E5BA0D" d="M4 48.997a3.99 3.99 0 0 1-3.858-3H0v50a4 4 0 0 0 4 4h40v-51z"/><path fill="#CDA70C" d="M0 92.998v3a4 4 0 0 0 4 4h40v-7z"/>
  </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

Flat UI Icons

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

  • Key icon from Flat UI Icons
  • Safe icon from Flat UI Icons
  • Shield icon from Flat UI Icons
  • Google icon from Flat UI Icons
  • Games icon from Flat UI Icons
  • Gift Box icon from Flat UI Icons
  • Girl icon from Flat UI Icons
  • Goal icon from Flat UI Icons
  • Graph icon from Flat UI Icons
  • Icecream icon from Flat UI Icons
  • Imac icon from Flat UI Icons
  • Ipad icon from Flat UI Icons
  • Iphone icon from Flat UI Icons
  • Lettersymbol icon from Flat UI Icons
  • Loop icon from Flat UI Icons
  • Macbook icon from Flat UI Icons
  • Magic icon from Flat UI Icons
  • Magicmouse icon from Flat UI Icons
  • Mail icon from Flat UI Icons
  • Map icon from Flat UI Icons
  • Medal icon from Flat UI Icons
  • Mic icon from Flat UI Icons
  • Money icon from Flat UI Icons
  • Mortarboard icon from Flat UI Icons

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

Get Pro

Tags

Browse by tag

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

Pricing

Flat UI Icons MCP, with Pro

Ask for Lock or any of 100 Flat 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