Triangle Compact
Triangle Compact is a tight badge-like shape for small UI accents for CSS clip-path layouts.
Octagon Compact is a tight badge-like shape for small UI accents for CSS clip-path layouts.
clip-path
Editable Shape
Copy-ready CSS
Pure CSS
clip-path: polygon(35.6% 14%, 64.4% 14%, 86% 35.6%, 86% 64.4%, 64.4% 86%, 35.6% 86%, 14% 64.4%, 14% 35.6%);Tailwind v4
[clip-path:polygon(35.6%_14%\,_64.4%_14%\,_86%_35.6%\,_86%_64.4%\,_64.4%_86%\,_35.6%_86%\,_14%_64.4%\,_14%_35.6%)]Octagon Compact 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 Compact is a tight badge-like shape for small UI accents 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 Compact.
Triangle Compact is a tight badge-like shape for small UI accents for CSS clip-path layouts.
Hexagon Compact is a tight badge-like shape for small UI accents for CSS clip-path layouts.
Octagon Classic is clean geometric clipping for CSS clip-path layouts.
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.