file-lock
File Lock icon · Lucide · <FileLock />
file-lockLucide tags file-lock with password and security. It was previously named file-lock-2, which still works as an alias.
24 px, stroke 2
file-lock.svg
Size, stroke and code
Lucide icons are drawn on a 24 px grid with a 2 px stroke. Pick a size and stroke width to preview them; the downloads and the code below follow your choice.
Stroke width
Size
File Lock icon in React
npm install lucide-react
import { FileLock } from "lucide-react";
export function Example() {
return <FileLock />;
}Details
| Name | file-lock |
|---|---|
| Component | FileLock (also FileLockIcon, LucideFileLock) |
| Old names | file-lock-2 (still work as aliases) |
| Categories | File icons, Security |
| Icon font | icon-file-lock, U+E31E |
| CSS content | "\e31e" |
| File | lucide-static/icons/file-lock.svg |
| Grid and stroke | 24 × 24, 2 px stroke, round caps and joins |
| License | ISC License (© Lucide Icons and Contributors) |