icons/Bootstrap Icons/fileOpen in browser →

file · Bootstrap Icons

Free SVG file icon from Bootstrap Icons. Rendered at 24×24 in the stroke 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 — Bootstrap IconsFree file SVG icon from Bootstrap Icons, stroke 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"><g transform="scale(1.5) translate(0 0)"><path d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1"/></g></svg>
React
// Run: npx sant-icons get bootstrap-file --format react
export function BootstrapFile(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><g transform="scale(1.5) translate(0 0)"><path d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1"/></g></svg>
  );
}
CLI
npx sant-icons get bootstrap-file

Properties

Name
file
Library
Bootstrap Icons
Style
stroke
License
MIT
Version
1.13.2
Identifier
bootstrap-file

file in other libraries

Related from Bootstrap Icons

The file icon ships with Bootstrap Icons, an open-source icon set licensed under MIT. Search for it as "bootstrap icons 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 bootstrap-file directly into your project. No browser context-switch.