All styles
Futuristic

RGB Glitch CSS Button

Free39 lines · no JS · WCAG AAA 19.7
Open in Studio
Theme

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

States
default
hover
focus-visible
active
not declared
disabled
not declared
.btn-rgb-glitch {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  background: #0a0a14;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-rgb-glitch:hover {
  animation: btn-rgb-glitch-fx 0.35s steps(2, end) infinite;
}
@keyframes btn-rgb-glitch-fx {
  0% {
    text-shadow: 2px 0 #f0f, -2px 0 #0ff;
    transform: translate(0, 0);
  }
  25% {
    text-shadow: -2px 0 #f0f, 2px 0 #0ff;
    transform: translate(1px, -1px);
  }
  50% {
    text-shadow: 2px 1px #f0f, -1px -1px #0ff;
    transform: translate(-1px, 1px);
  }
  100% {
    text-shadow: -1px 0 #f0f, 1px 0 #0ff;
    transform: translate(0, 0);
  }
}
.btn-rgb-glitch:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-rgb-glitch
FuturisticRoundedGlitch

Implementation notes

About the RGB Glitch CSS button

RGB Glitch uses technical geometry and motion for an engineered visual language. Its rounded corners balance product-friendly softness with a clear boundary. Motion comes from a 350ms keyframe animation. The glitch details are included in the copy-paste CSS.

Usage

<button class="btn-rgb-glitch">GLITCH</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
Modal79% match

Terminal Signal Decision Modal

Terminal Signal kit

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

Terminal Signal Smart Input

Terminal Signal kit

Futuristic characterglow surface
Pro preview
Toggle79% match

Terminal Signal Preference Toggle

Terminal Signal kit

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

Terminal Signal Feature Card

Terminal Signal kit

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

Terminal Signal Action Menu

Terminal Signal kit

Futuristic characterglow surface
Unlock with Pro →
Pro preview
Form79% 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

Comet Border

Notch Corners

Chrono Ring

Neural Pulse

Plasma Edge

Warp Drive

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