icons/Lucide/octagonOpen in browser →

octagon · Lucide

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

octagon icon — LucideFree octagon SVG icon from Lucide, stroke style, ISC licensed.

Tags

  • octagon
  • shapes
  • stop
  • shape

Code

HTML / SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" > <path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" /> </svg>
React
// Run: npx sant-icons get lucide-octagon --format react
export function LucideOctagon(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
 {...props}> <path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" />
</svg>
  );
}
CLI
npx sant-icons get lucide-octagon

Properties

Name
octagon
Library
Lucide
Style
stroke
License
ISC
Version
1.73.0
Identifier
lucide-octagon

octagon in other libraries

Related from Lucide

The octagon icon ships with Lucide, an open-source icon set licensed under ISC. Search for it as "lucide octagon", "octagon svg", or any of its tagged terms (octagon, shapes, stop, shape). 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 lucide-octagon directly into your project. No browser context-switch.