All styles
Futuristic

Hexagon CSS Button

Free23 lines · no JS · WCAG AA large 4.2
Open in Studio
Theme

A real <button> carrying .btn-hexagon — the preview is the stylesheet, not a picture of it.

States
default
hover
focus-visible
active
disabled
not declared
.btn-hexagon {
  display: inline-block;
  padding: 14px 42px;
  border: none;
  background: #8b5cf6;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  transition: background 0.2s ease;
}
.btn-hexagon:hover {
  background: #7c3aed;
}
.btn-hexagon:active {
  background: #6d28d9;
}
.btn-hexagon:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-hexagon
FuturisticCut Corner

Implementation notes

About the Hexagon CSS button

Hexagon uses technical geometry and motion for an engineered visual language. Its cut corners add a technical accent without relying on an image asset. The interaction stays intentionally restrained.

Usage

<button class="btn-hexagon">Button</button>

Pair it with the CSS tab above — the class is self-contained.

Before shipping: keep the semantic button element, verify contrast on your actual background and add a visible:focus-visible state. If you retain motion, include a prefers-reduced-motion override.
Built with
HTML + plain CSS
Shape
Cut Corner
Exports
CSS, Tailwind, React
License
MIT · commercial use
Complete the look

Build the interface around this button

We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.

Style DNA · v1
How matching works →
Pro preview
Modal90% match

Terminal Signal Decision Modal

Terminal Signal kit

Futuristic characterglow surface
Unlock with Pro →
Free sample
Input90% match

Terminal Signal Smart Input

Terminal Signal kit

Futuristic characterglow surface
Pro preview
Toggle90% match

Terminal Signal Preference Toggle

Terminal Signal kit

Futuristic characterglow surface
Unlock with Pro →
Pro preview
Card90% match

Terminal Signal Feature Card

Terminal Signal kit

Futuristic characterglow surface
Unlock with Pro →
Pro preview
Dropdown90% match

Terminal Signal Action Menu

Terminal Signal kit

Futuristic characterglow surface
Unlock with Pro →
Pro preview
Form90% match

Terminal Signal Signup Form

Terminal Signal kit

Futuristic characterglow surface
Unlock with Pro →
Get the complete Terminal Signal kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Warp Drive

HUD Target

Notch Corners

Stealth Console

Comet Border

RGB Glitch

Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does