file · Lucide
Free SVG file 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.
Tags
- file
- files
- document
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="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" /> <path d="M14 2v5a1 1 0 0 0 1 1h5" /> </svg>
React
// Run: npx sant-icons get lucide-file --format react
export function LucideFile(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="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" /> <path d="M14 2v5a1 1 0 0 0 1 1h5" />
</svg>
);
}CLI
npx sant-icons get lucide-file
Properties
file in other libraries
Related from Lucide
The file icon ships with Lucide, an open-source icon set licensed under ISC. Search for it as "lucide file", "file svg", or any of its tagged terms (file, files, document). 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 directly into your project. No browser context-switch.