All styles
Retro

Cassette CSS Button

Free27 lines · no JS · WCAG AAA 9.1
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-cassette {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid #78716c;
  border-radius: 8px;
  background: #292524;
  color: #fbbf24;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: inset 0 -6px 0 #1c1917, inset 0 2px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.1s ease;
}
.btn-cassette:hover {
  color: #fde68a;
  border-color: #a8a29e;
}
.btn-cassette:active {
  box-shadow: inset 0 -2px 0 #1c1917;
  transform: translateY(2px);
}
.btn-cassette:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-cassette
RetroRounded

Implementation notes

About the Cassette CSS button

Cassette uses nostalgic visual cues paired with modern interaction states. Its rounded corners balance product-friendly softness with a clear boundary. It combines a two-layer shadow and a 2px border. The interaction stays intentionally restrained.

Usage

<button class="btn-cassette">PLAY ▸</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
Modal81% match

Pixel Arcade Decision Modal

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Free sample
Input81% match

Pixel Arcade Smart Input

Pixel Arcade kit

Retro charactertextured surface
Pro preview
Toggle81% match

Pixel Arcade Preference Toggle

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Card81% match

Pixel Arcade Feature Card

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Dropdown81% match

Pixel Arcade Action Menu

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Form81% match

Pixel Arcade Signup Form

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Get the complete Pixel Arcade kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Seventies

Varsity

Sticker Pop

Newsprint

Wild West

CRT Monitor

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