File Lock icon

A page with a padlock at its corner, for protected and private documents.

FilesFull set4 styles24px grid
Get the full set

200 icons are free. File Lock is in the full set of 1,104.

  • Rounded Line
  • Rounded Solid
  • Sharp Line
  • Sharp Solid

About the file lock icon

File Lock is one of 41 icons in Files, drawn next to file zip and file lock 2. The Line styles draw it with 4 shapes at a 1.5px stroke. The Solid styles fill it and cut one detail out of the fill, so the inside still reads at 16px. Rounded has soft corners and round line ends, Sharp has square ones, and all four line up on the same 24px grid, so switching style never moves anything.

It ships with the Personal and Team licenses: SVG files in all four styles, the Figma file, the React package and the MCP for AI agents. This page shows a small preview only.

Other versions of it in the set: file lock 2.

Name
file-lock
Category
Files
Styles
Rounded and Sharp, Line and Solid
React
FileLock, FileLockIcon
License
Personal or Team
Also called
locked file, protected document, secure file

Use the file lock icon

React

@neaticons/react exports it as FileLock. It is in the full edition: add your seat key to .npmrc and install. How to set it up.

import { FileLock } from "@neaticons/react"
import { FileLock as FileLockSolid } from "@neaticons/react/rounded-solid"
import FileLockSharp from "@neaticons/react/sharp-stroke/file-lock"

<FileLock size={24} />
<FileLockSolid color="#0A84FF" title="File Lock" />

SVG

In the full zip it sits in one folder per style, colored #141B34 or with currentColor for code. Using the SVG files.

svg/rounded/stroke/file-lock.svg
svg/rounded/solid/file-lock.svg
svg/sharp/stroke/file-lock.svg
svg/sharp/solid/file-lock.svg
svg-currentcolor/rounded/stroke/file-lock.svg

Figma

In the Neat Icons Figma file it sits on the Icons page under Files. It is one component set named file-lock: drop it in, then switch Family (Rounded, Sharp) and Style (Stroke, Solid) in the right panel. More on Figma.

MCP for AI agents

Ask your agent in plain words. A search for “secure file” returns file-lock first, then the agent pulls the code. The MCP comes with Personal and Team. Set it up.

search_icons({ query: "secure file" })
get_icon({ name: "file-lock", style: "rounded-solid", format: "jsx" })