icons/Majesticons/fileOpen in browser →

file · Majesticons

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

file icon — MajesticonsFree file SVG icon from Majesticons, filled style, MIT licensed.

Tags

  • file

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="currentColor" fill-rule="evenodd" d="M12 2H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-8h-6a3 3 0 0 1-3-3zm9 7v-.172a3 3 0 0 0-.879-2.12l-3.828-3.83A3 3 0 0 0 14.172 2H14v6a1 1 0 0 0 1 1z" clip-rule="evenodd"/></svg>
React
// Run: npx sant-icons get majesticons-file --format react
export function MajesticonsFile(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path fill="currentColor" fill-rule="evenodd" d="M12 2H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-8h-6a3 3 0 0 1-3-3zm9 7v-.172a3 3 0 0 0-.879-2.12l-3.828-3.83A3 3 0 0 0 14.172 2H14v6a1 1 0 0 0 1 1z" clip-rule="evenodd"/></svg>
  );
}
CLI
npx sant-icons get majesticons-file

Properties

Name
file
Library
Majesticons
Style
filled
License
MIT
Version
1.2.5
Identifier
majesticons-file

file in other libraries

Related from Majesticons

The file icon ships with Majesticons, an open-source icon set licensed under MIT. Search for it as "majesticons file", "file svg", or any of its tagged terms (file). 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 majesticons-file directly into your project. No browser context-switch.