All styles
Neon & Glow

Laser Line CSS Button

Free35 lines · no JS
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-laser-line {
  position: relative;
  display: inline-block;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-laser-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 30%;
  height: 3px;
  border-radius: 2px;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee, 0 0 24px rgba(34, 211, 238, 0.7);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.btn-laser-line:hover::after {
  width: 100%;
}
.btn-laser-line:active {
  color: #67e8f9;
}
.btn-laser-line:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-laser-line
Neon & GlowSquareBorder FX

Implementation notes

About the Laser Line CSS button

Laser Line uses luminous contrast designed for dark and futuristic interfaces. Its square geometry creates a compact, precise control. The border fx details are included in the copy-paste CSS.

Usage

<button class="btn-laser-line">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
Square
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
Modal71% match

Terminal Signal Decision Modal

Terminal Signal kit

glow surfaceFuturistic character
Unlock with Pro →
Free sample
Input71% match

Terminal Signal Smart Input

Terminal Signal kit

glow surfaceFuturistic character
Pro preview
Toggle71% match

Terminal Signal Preference Toggle

Terminal Signal kit

glow surfaceFuturistic character
Unlock with Pro →
Pro preview
Card71% match

Terminal Signal Feature Card

Terminal Signal kit

glow surfaceFuturistic character
Unlock with Pro →
Pro preview
Dropdown71% match

Terminal Signal Action Menu

Terminal Signal kit

glow surfaceFuturistic character
Unlock with Pro →
Pro preview
Form71% match

Terminal Signal Signup Form

Terminal Signal kit

glow surfaceFuturistic character
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

Breathing Line

Neon Duotone

Pulse Beacon

Tron Line

Starlight

Cyber Amber

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