file-code · Octicons
Free SVG file-code icon from Octicons. 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.
Tags
- file
- code
Code
HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g transform="scale(1) translate(0 0)"><path fill-rule="evenodd" d="M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5L5 10l-.5 1L2 8.5L4.5 6l.5.98zM7.5 6L10 8.5L7.5 11l-.5-.98L8.5 8.5L7 7l.5-1z" fill="currentColor"/></g></svg>
React
// Run: npx sant-icons get octicon-file-code --format react
export function OcticonFileCode(props) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g transform="scale(1) translate(0 0)"><path fill-rule="evenodd" d="M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5L5 10l-.5 1L2 8.5L4.5 6l.5.98zM7.5 6L10 8.5L7.5 11l-.5-.98L8.5 8.5L7 7l.5-1z" fill="currentColor"/></g></svg>
);
}CLI
npx sant-icons get octicon-file-code
Properties
file-code in other libraries
Related from Octicons
The file-code icon ships with Octicons, an open-source icon set licensed under MIT. Search for it as "octicons file-code", "file-code svg", or any of its tagged terms (file, code). 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 octicon-file-code directly into your project. No browser context-switch.