Skip to content
shadcn.io

File Lock

The file-lock icon represents a file that is secured or locked, often used to signify protection or restricted access.

Add shadcn.io to your AI agent. · Pro It installs File Lock, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

File Lock icon from Bootstrap Icons
Get Pro

2,084 in Bootstrap IconsMIT license (opens in a new tab)Free to copy and download

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 16 16" {...props}>
    <g fill="currentColor"><path d="M8 5a1 1 0 0 1 1 1v1H7V6a1 1 0 0 1 1-1m2 2.076V6a2 2 0 1 0-4 0v1.076c-.54.166-1 .597-1 1.224v2.4c0 .816.781 1.3 1.5 1.3h3c.719 0 1.5-.484 1.5-1.3V8.3c0-.627-.46-1.058-1-1.224M6.105 8.125A.64.64 0 0 1 6.5 8h3a.64.64 0 0 1 .395.125c.085.068.105.133.105.175v2.4c0 .042-.02.107-.105.175A.64.64 0 0 1 9.5 11h-3a.64.64 0 0 1-.395-.125C6.02 10.807 6 10.742 6 10.7V8.3c0-.042.02-.107.105-.175"/><path d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1"/></g>
  </svg>
);

Other libraries

File Lock in 6 more libraries

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

  • File Lock icon from Phosphor
  • File Lock icon from Material Design Icons
  • File Lock icon from IconPark Outline
  • File Lock icon from IconPark Solid
  • File Lock icon from IconPark TwoTone
  • File Lock icon from Lucide

Bootstrap Icons

Icons that share its tags, in the same style.

  • File Lock 2 icon from Bootstrap Icons
  • File Earmark Lock 2 icon from Bootstrap Icons
  • Lock icon from Bootstrap Icons
  • File Earmark Lock icon from Bootstrap Icons
  • Shield Shaded icon from Bootstrap Icons
  • Shield Slash icon from Bootstrap Icons
  • Shield X icon from Bootstrap Icons
  • Door Closed icon from Bootstrap Icons
  • File Medical icon from Bootstrap Icons
  • File Minus icon from Bootstrap Icons
  • File Music icon from Bootstrap Icons
  • File Pdf icon from Bootstrap Icons
  • File Person icon from Bootstrap Icons
  • House Lock icon from Bootstrap Icons
  • Safe icon from Bootstrap Icons
  • Unlock icon from Bootstrap Icons
  • Unlock 2 icon from Bootstrap Icons
  • Building Lock icon from Bootstrap Icons
  • Clipboard 2 icon from Bootstrap Icons
  • File icon from Bootstrap Icons
  • File Post icon from Bootstrap Icons
  • File Richtext icon from Bootstrap Icons
  • File Ruled icon from Bootstrap Icons
  • Filetype Key icon from Bootstrap Icons

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

Get Pro

Tags

Browse by tag

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

Pricing

Bootstrap Icons MCP, with Pro

Ask for File Lock or any of 2,084 Bootstrap 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 File Lock icon means and where it's used, then how to install, style and license it.

Install File Lock from a prompt

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

Get Pro