All styles
Minimal

Wave Line CSS Button

Free27 lines · no JS
Open in Studio
Theme

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

States
default
hover
focus-visible
active
not declared
disabled
not declared
.btn-wave-line {
  display: inline-block;
  padding: 12px 8px 18px;
  border: none;
  background-color: transparent;
  background-image: radial-gradient(circle at 7px -4px, transparent 7px, #38bdf8 7px, #38bdf8 8.5px, transparent 8.5px);
  background-size: 16px 12px;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-wave-line:hover {
  animation: btn-wave-line-move 0.8s linear infinite;
}
@keyframes btn-wave-line-move {
  to {
    background-position: 16px bottom;
  }
}
.btn-wave-line:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-wave-line
MinimalSquareAnimatedBorder FX

Implementation notes

About the Wave Line CSS button

Wave Line uses restrained decoration that keeps the surrounding content in focus. Its square geometry creates a compact, precise control. It is built around a four-stop radial gradient anchored on #38bdf8 with an 800ms keyframe animation. The animated, border fx details are included in the copy-paste CSS.

Usage

<button class="btn-wave-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
Modal74% match

Quiet Paper Decision Modal

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Free sample
Input74% match

Quiet Paper Smart Input

Quiet Paper kit

Minimal characteroutline surface
Pro preview
Toggle74% match

Quiet Paper Preference Toggle

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Pro preview
Card74% match

Quiet Paper Feature Card

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Pro preview
Dropdown74% match

Quiet Paper Action Menu

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Pro preview
Form74% match

Quiet Paper Signup Form

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Get the complete Quiet Paper kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Under Score

Mono Caps

Strike Reveal

Framed Air

Hairline

Quiet Type

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