icons/Bootstrap Icons/octagonOpen in browser →

octagon · Bootstrap Icons

Free SVG octagon 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.

octagon icon — Bootstrap IconsFree octagon SVG icon from Bootstrap Icons, stroke style, MIT licensed.

Tags

  • octagon

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.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353zM5.1 1 1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1z"/></g></svg>
React
// Run: npx sant-icons get bootstrap-octagon --format react
export function BootstrapOctagon(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.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353zM5.1 1 1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1z"/></g></svg>
  );
}
CLI
npx sant-icons get bootstrap-octagon

Properties

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

octagon in other libraries

Related from Bootstrap Icons

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