icons/Lucide/file-lockOpen in browser →

file-lock · Lucide

Free SVG file-lock icon from Lucide. Rendered at 24×24 in the stroke style and licensed under ISC. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for ISC licensed icons.

file-lock icon — LucideFree file-lock SVG icon from Lucide, stroke style, ISC licensed.

Tags

  • file
  • lock
  • $extends:file
  • $group:lock
  • file-lock-2
  • security

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" > <path d="M4 9.8V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3" /> <path d="M14 2v5a1 1 0 0 0 1 1h5" /> <path d="M9 17v-2a2 2 0 0 0-4 0v2" /> <rect width="8" height="5" x="3" y="17" rx="1" /> </svg>
React
// Run: npx sant-icons get lucide-file-lock --format react
export function LucideFileLock(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
 {...props}> <path d="M4 9.8V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3" /> <path d="M14 2v5a1 1 0 0 0 1 1h5" /> <path d="M9 17v-2a2 2 0 0 0-4 0v2" /> <rect width="8" height="5" x="3" y="17" rx="1" />
</svg>
  );
}
CLI
npx sant-icons get lucide-file-lock

Properties

Name
file-lock
Library
Lucide
Style
stroke
License
ISC
Version
1.73.0
Identifier
lucide-file-lock

file-lock in other libraries

Related from Lucide

The file-lock icon ships with Lucide, an open-source icon set licensed under ISC. Search for it as "lucide file-lock", "file-lock svg", or any of its tagged terms (file, lock, $extends:file, $group:lock, file-lock-2, security). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.

Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch lucide-file-lock directly into your project. No browser context-switch.