octagon · Huge Icons
Free SVG octagon icon from Huge 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.
Tags
- octagon
Code
HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M13.515 2c1.226 0 1.839 0 2.39.228c.551.229.985.662 1.852 1.53l2.485 2.485c.867.867 1.301 1.3 1.53 1.852c.228.55.228 1.164.228 2.39v3.03c0 1.226 0 1.84-.229 2.39c-.228.552-.662.985-1.529 1.852l-2.485 2.486c-.867.867-1.3 1.3-1.852 1.529c-.551.228-1.164.228-2.39.228h-3.03c-1.226 0-1.84 0-2.39-.228c-.552-.229-.985-.662-1.853-1.53l-2.485-2.485c-.867-.867-1.3-1.3-1.529-1.852C2 15.355 2 14.741 2 13.515v-3.03c0-1.226 0-1.84.228-2.39c.229-.552.662-.985 1.53-1.852l2.484-2.486c.868-.867 1.301-1.3 1.852-1.529S9.26 2 10.485 2z"/></svg>
React
// Run: npx sant-icons get huge-octagon --format react
export function HugeOctagon(props) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path fill="none" stroke="currentColor" stroke-width="1.5" d="M13.515 2c1.226 0 1.839 0 2.39.228c.551.229.985.662 1.852 1.53l2.485 2.485c.867.867 1.301 1.3 1.53 1.852c.228.55.228 1.164.228 2.39v3.03c0 1.226 0 1.84-.229 2.39c-.228.552-.662.985-1.529 1.852l-2.485 2.486c-.867.867-1.3 1.3-1.852 1.529c-.551.228-1.164.228-2.39.228h-3.03c-1.226 0-1.84 0-2.39-.228c-.552-.229-.985-.662-1.853-1.53l-2.485-2.485c-.867-.867-1.3-1.3-1.529-1.852C2 15.355 2 14.741 2 13.515v-3.03c0-1.226 0-1.84.228-2.39c.229-.552.662-.985 1.53-1.852l2.484-2.486c.868-.867 1.301-1.3 1.852-1.529S9.26 2 10.485 2z"/></svg>
);
}CLI
npx sant-icons get huge-octagon
Properties
- Name
- octagon
- Library
- Huge Icons
- Style
- stroke
- License
- MIT
- Version
- 1.2.35
- Identifier
- huge-octagon
octagon in other libraries
Related from Huge Icons
The octagon icon ships with Huge Icons, an open-source icon set licensed under MIT. Search for it as "huge 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 huge-octagon directly into your project. No browser context-switch.