Skip to content

Octagon

The octagon icon represents geometric containers and structural boundaries in design and interface applications.

Add shadcn.io to your AI agent. · Pro It installs Octagon, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Octagon icon from Lucide
Get Pro

1,655 in LucideISC license (opens in a new tab)Free to copy and download

Code

Octagon in your framework

In any framework. Customize it above, and the code follows.

export const OctagonIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" 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>
);

Other libraries

Octagon in 8 more libraries

Each library draws it its own way. Open one to compare.

  • Octagon icon from Phosphor
  • Octagon icon from Material Design Icons
  • Octagon icon from Tabler Icons
  • Octagon icon from Huge Icons
  • Octagon icon from IconPark Outline
  • Octagon icon from Myna UI Icons
  • Octagon icon from Bootstrap Icons
  • Octagon icon from Font Awesome Solid

Lucide

Icons that share its tags, in the same style.

  • Hexagon icon from Lucide
  • Frame icon from Lucide
  • Pentagon icon from Lucide
  • Triangle icon from Lucide
  • Circle icon from Lucide
  • Cuboid icon from Lucide
  • Cylinder icon from Lucide
  • Square icon from Lucide
  • Square Square icon from Lucide
  • App Window icon from Lucide
  • Barrel icon from Lucide
  • Box icon from Lucide
  • Columns  2 icon from Lucide
  • Columns  3 icon from Lucide
  • Columns  4 icon from Lucide
  • Container icon from Lucide
  • File Box icon from Lucide
  • Folder icon from Lucide
  • Layers icon from Lucide
  • Layout Grid icon from Lucide
  • Layout Template icon from Lucide
  • Move Diagonal icon from Lucide
  • Package icon from Lucide
  • Squircle icon from Lucide

Skip the copy and paste. With Pro, your AI agent finds and installs any Lucide icon from a prompt.

Get Pro

Tags

Browse by tag

Octagon is tagged design, shape, structure and 5 more. Related tags follow; each opens its icons from every library.

Pricing

Lucide MCP, with Pro

Ask for Octagon or any of 1,655 Lucide icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Octagon icon means and where it's used, then how to install, style and license it.

Install Octagon from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro