Skip to content

Lock

The lock icon represents security, protection, and restricted access.

Exports at 24 × 24 px

Lock icon from Bytesize Icons
Get Pro

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 32 32" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path d="M5 15v15h22V15Zm4 0C9 9 9 5 16 5s7 4 7 10m-7 5v3"/><circle cx="16" cy="24" r="1"/></g>
  </svg>
);

Bytesize Icons

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

  • Unlock icon from Bytesize Icons
  • Creditcard icon from Bytesize Icons
  • Fullscreen icon from Bytesize Icons
  • Fullscreen Exit icon from Bytesize Icons
  • Gift icon from Bytesize Icons
  • Github icon from Bytesize Icons
  • Heart icon from Bytesize Icons
  • Home icon from Bytesize Icons
  • Import icon from Bytesize Icons
  • Inbox icon from Bytesize Icons
  • Info icon from Bytesize Icons
  • Lightning icon from Bytesize Icons
  • Link icon from Bytesize Icons
  • Location icon from Bytesize Icons
  • Mail icon from Bytesize Icons
  • Menu icon from Bytesize Icons
  • Message icon from Bytesize Icons
  • Microphone icon from Bytesize Icons
  • Minus icon from Bytesize Icons
  • Mobile icon from Bytesize Icons
  • Moon icon from Bytesize Icons
  • Move icon from Bytesize Icons
  • Music icon from Bytesize Icons
  • Mute icon from Bytesize Icons

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

Get Pro

Pricing

Bytesize Icons MCP, with Pro

Ask for Lock or any of 102 Bytesize 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.

  • 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, label and license it.

4.9 out of 5 from 150+ developers

Install Lock from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro