The Phosphor octagon icon depicts an eight-sided polygon, commonly used to represent concepts related to security, stop signs, or geometric patterns in UI design.
Common uses
- Security alerts
- Stop/warning indicators
- Geometric background elements
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { Octagon } from '@phosphor-icons/react';
<Octagon size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<Octagon size={24} />thin
<Octagon size={24} weight="thin" />light
<Octagon size={24} weight="light" />bold
<Octagon size={24} weight="bold" />fill
<Octagon size={24} weight="fill" />duotone
<Octagon size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- design
- Keywords
- 8shapespolygonsdesignoctagoneight sidespolygonshapewarning
FAQ
- What is the octagon icon used for?
- It's used for elements that need to convey a sense of security, warning, or represent an eight-sided shape.
- How do I use the octagon icon in React?
- Import it using `import { Octagon } from '@phosphor-icons/react'` and then use it as a component: `<Octagon />`.
- What is the license for Phosphor icons?
- Phosphor icons are distributed under the MIT license, allowing for free usage.
Related icons
The same idea in other libraries, and near matches in Phosphor.
Looking for something else? Search Phosphor and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →