All styles
Solid

Wave Fill CSS Button

Free31 lines · no JS · WCAG fails 1.7
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-wave-fill {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #0d9488;
  border-radius: 10px;
  background-color: rgba(20, 184, 166, 0.08);
  background-image:
    radial-gradient(circle at 8px 12px, #14b8a6 7px, transparent 8px),
    linear-gradient(180deg, #14b8a6, #0d9488);
  background-repeat: repeat-x, no-repeat;
  background-size: 16px 16px, 100% 0%;
  background-position: 0 calc(100% + 16px), left bottom;
  color: #5eead4;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-size 0.5s ease, background-position 0.5s ease, color 0.35s ease, transform 0.1s ease;
}
.btn-wave-fill:hover {
  background-size: 16px 16px, 100% calc(100% - 5px);
  background-position: 0 -3px, left bottom;
  color: #042f2e;
}
.btn-wave-fill:active {
  transform: translateY(1px);
}
.btn-wave-fill:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-wave-fill
SolidRoundedLiquidHover Reveal

Implementation notes

About the Wave Fill CSS button

Wave Fill uses a clear, high-contrast treatment for primary product actions. Its rounded corners balance product-friendly softness with a clear boundary. It is built around a two-stop radial gradient anchored on #14b8a6 with a 2px border. The liquid, hover reveal details are included in the copy-paste CSS.

Usage

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

Midnight System Decision Modal

Midnight System kit

solid surfaceDark UI character
Unlock with Pro →
Free sample
Input78% match

Midnight System Smart Input

Midnight System kit

solid surfaceDark UI character
Pro preview
Toggle78% match

Midnight System Preference Toggle

Midnight System kit

solid surfaceDark UI character
Unlock with Pro →
Pro preview
Card78% match

Midnight System Feature Card

Midnight System kit

solid surfaceDark UI character
Unlock with Pro →
Pro preview
Dropdown78% match

Midnight System Action Menu

Midnight System kit

solid surfaceDark UI character
Unlock with Pro →
Pro preview
Form78% match

Midnight System Signup Form

Midnight System kit

solid surfaceDark UI character
Unlock with Pro →
Get the complete Midnight System kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Deep Sea

Ocean Teal

Arrow Reveal

Sweep Shine

Success Morph

Arrow Nudge

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