All styles
Futuristic

Scanline Sweep CSS Button

Free35 lines · no JS · WCAG AAA 14.5
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-scanline-sweep {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid #1f2937;
  border-radius: 10px;
  background-color: #0f1522;
  background-image: linear-gradient(to bottom, rgba(94, 234, 212, 0) 0%, rgba(94, 234, 212, 0.35) 50%, rgba(94, 234, 212, 0) 100%);
  background-size: 100% 18px;
  background-repeat: no-repeat;
  background-position: 0 -24px;
  color: #99f6e4;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  animation: btn-scanline-sweep-scan 2.4s linear infinite;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
@keyframes btn-scanline-sweep-scan {
  0% { background-position: 0 -24px; }
  100% { background-position: 0 72px; }
}
.btn-scanline-sweep:hover {
  border-color: #2dd4bf;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.25);
}
.btn-scanline-sweep:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn-scanline-sweep:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-scanline-sweep
FuturisticRoundedAnimatedShimmer

Implementation notes

About the Scanline Sweep CSS button

Scanline Sweep 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 2.4s keyframe animation. The animated, shimmer details are included in the copy-paste CSS.

Usage

<button class="btn-scanline-sweep">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
Modal80% match

Aurora Studio Decision Modal

Aurora Studio kit

Gradient charactercyan palette
Unlock with Pro →
Free sample
Input80% match

Aurora Studio Smart Input

Aurora Studio kit

Gradient charactercyan palette
Pro preview
Toggle80% match

Aurora Studio Preference Toggle

Aurora Studio kit

Gradient charactercyan palette
Unlock with Pro →
Pro preview
Card80% match

Aurora Studio Feature Card

Aurora Studio kit

Gradient charactercyan palette
Unlock with Pro →
Pro preview
Dropdown80% match

Aurora Studio Action Menu

Aurora Studio kit

Gradient charactercyan palette
Unlock with Pro →
Pro preview
Form80% match

Aurora Studio Signup Form

Aurora Studio kit

Gradient charactercyan palette
Unlock with Pro →
Get the complete Aurora Studio kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Holo Shift

Neural Pulse

Plasma Edge

Chrono Ring

Comet Border

Stealth Console

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