All styles
3D & Tactile

Cube Pop CSS Button

Free26 lines · no JS · WCAG AA 5.1
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-cube-pop {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid #065f46;
  border-radius: 8px;
  background: #34d399;
  color: #064e3b;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 0 #065f46, 8px 8px 0 rgba(6, 95, 70, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cube-pop:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #065f46, 12px 12px 0 rgba(6, 95, 70, 0.4);
}
.btn-cube-pop:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #065f46;
}
.btn-cube-pop:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-cube-pop
3D & TactileRounded

Implementation notes

About the Cube Pop CSS button

Cube Pop uses visible depth and press feedback that makes interaction feel physical. Its rounded corners balance product-friendly softness with a clear boundary. It combines a two-layer shadow, a 2px border and a 150ms hover shift. The interaction stays intentionally restrained.

Usage

<button class="btn-cube-pop">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
Rounded
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
Modal86% match

Tactile Citrus Decision Modal

Tactile Citrus kit

3D & Tactile charactersolid surface
Unlock with Pro →
Free sample
Input86% match

Tactile Citrus Smart Input

Tactile Citrus kit

3D & Tactile charactersolid surface
Pro preview
Toggle86% match

Tactile Citrus Preference Toggle

Tactile Citrus kit

3D & Tactile charactersolid surface
Unlock with Pro →
Pro preview
Card86% match

Tactile Citrus Feature Card

Tactile Citrus kit

3D & Tactile charactersolid surface
Unlock with Pro →
Pro preview
Dropdown86% match

Tactile Citrus Action Menu

Tactile Citrus kit

3D & Tactile charactersolid surface
Unlock with Pro →
Pro preview
Form86% match

Tactile Citrus Signup Form

Tactile Citrus kit

3D & Tactile charactersolid surface
Unlock with Pro →
Get the complete Tactile Citrus kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Springboard

Bevel Classic

Deep Press

Gel Lime

Glossy Sky

Piston Metal

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