Skip to content

Lock

The et-lock icon represents a lock, often used as a symbol for security, protection, or safety.

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

100 in ElegantGPL 3.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="21" height="24" viewBox="0 0 28 32" {...props}>
    <path fill="currentColor" d="M14 0C8.486 0 4 4.486 4 10v3H2.5A2.503 2.503 0 0 0 0 15.5v14C0 30.878 1.122 32 2.5 32h23c1.378 0 2.5-1.122 2.5-2.5v-14c0-1.378-1.122-2.5-2.5-2.5H24v-3c0-5.514-4.486-10-10-10M5 10c0-4.962 4.038-9 9-9s9 4.038 9 9v3h-3v-3c0-3.309-2.691-6-6-6s-6 2.691-6 6v3H5zm14 3H9v-3c0-2.757 2.243-5 5-5s5 2.243 5 5zm-6.707 8l-5 5H2.707l5-5zm6 0l-5 5H8.707l5-5zm6 0l-5 5h-4.586l5-5zM27 21v5h-6.293l5-5zM1.293 26H1v-5h5.293zM25.5 31h-23c-.827 0-1.5-.673-1.5-1.5V27h26v2.5c0 .827-.673 1.5-1.5 1.5M27 15.5V20H1v-4.5c0-.827.673-1.5 1.5-1.5h23c.827 0 1.5.673 1.5 1.5"/>
  </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

Elegant

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

  • Key icon from Elegant
  • Shield icon from Elegant
  • Caution icon from Elegant
  • Lifesaver icon from Elegant
  • Hazardous icon from Elegant
  • Happy icon from Elegant
  • Heart icon from Elegant
  • Hotairballoon icon from Elegant
  • Hourglass icon from Elegant
  • Laptop icon from Elegant
  • Layers icon from Elegant
  • Lightbulb icon from Elegant
  • Linegraph icon from Elegant
  • Linkedin icon from Elegant
  • Magnifying Glass icon from Elegant
  • Map icon from Elegant
  • Map Pin icon from Elegant
  • Megaphone icon from Elegant
  • Mic icon from Elegant
  • Mobile icon from Elegant
  • Newspaper icon from Elegant
  • Notebook icon from Elegant
  • Paintbrush icon from Elegant
  • Paperclip icon from Elegant

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

Elegant MCP, with Pro

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