Skip to content

File Lock

The file-lock icon represents password-protected documents and encrypted files in security and access control systems.

Exports at 24 × 24 px

File Lock icon from Lucide
Get Pro

Code

File Lock in your framework

In any framework. Customize it above, and the code follows.

export const FileLockIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><rect width="8" height="6" x="8" y="12" rx="1"/><path d="M10 12v-2a2 2 0 1 1 4 0v2"/></g>
  </svg>
);

Other libraries

File Lock in 6 more libraries

Each library draws it its own way. Open one to compare.

Lucide

Icons that share its tags, in the same style.

  • Message Square Lock icon from Lucide
  • Vault icon from Lucide
  • Book Lock icon from Lucide
  • File Key icon from Lucide
  • Folder Key icon from Lucide
  • Globe Lock icon from Lucide
  • Copy Slash icon from Lucide
  • Door Closed Locked icon from Lucide
  • Folder Lock icon from Lucide
  • Lock icon from Lucide
  • Lock Keyhole icon from Lucide
  • Pencil Off icon from Lucide
  • Pen Off icon from Lucide
  • Save Off icon from Lucide
  • Shield Check icon from Lucide
  • User Lock icon from Lucide
  • Ban icon from Lucide
  • Bolt icon from Lucide
  • Book Key icon from Lucide
  • Book X icon from Lucide
  • Camera Off icon from Lucide
  • Candy Off icon from Lucide
  • Cigarette icon from Lucide
  • Circle Parking Off icon from Lucide

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

Get Pro

Pricing

Lucide MCP, with Pro

Ask for File Lock or any of 1,655 Lucide 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 File 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 File Lock from a prompt

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

Get Pro