Octagon Soft
Octagon Soft is a safer crop with less aggressive corners for CSS clip-path layouts.
Octagon Classic is clean geometric clipping for CSS clip-path layouts.
clip-path
Editable Shape
Copy-ready CSS
Pure CSS
clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);Tailwind v4
[clip-path:polygon(30%_0%\,_70%_0%\,_100%_30%\,_100%_70%\,_70%_100%\,_30%_100%\,_0%_70%\,_0%_30%)]Octagon Classic is a octagon clip-path preset for interface shapes, cropped media blocks, section edges, and decorative CSS cuts. It uses 8 polygon points, which keeps the effect readable while still giving the element a custom silhouette. Octagon Classic is clean geometric clipping for CSS clip-path layouts. The preset is written as plain CSS, so it works with images, cards, gradient panels, and pseudo-elements without requiring SVG assets. Use it when a rectangular block feels too flat, or when a octagon shape needs to guide attention across a page. Open it in the generator to drag individual vertices, switch templates, and copy the updated clip-path or Tailwind arbitrary value.
Hexpedia
This clip-path preset is shape-only. Pair it with a color reference from Hexpedia when choosing a fill or background.
Explore more
Related
These presets share shape and layout tags with Octagon Classic.
Octagon Soft is a safer crop with less aggressive corners for CSS clip-path layouts.
Octagon Sharp is a dramatic decorative silhouette for CSS clip-path layouts.
Octagon Banner is a wide cut designed for headers and ribbons for CSS clip-path layouts.
Octagon Divider is an edge-forward crop for page dividers for CSS clip-path layouts.
Octagon Compact is a tight badge-like shape for small UI accents for CSS clip-path layouts.