All styles
Gradient

Oceanic CSS Button

Free24 lines · no JS
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-oceanic {
  display: inline-block;
  padding: 13px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-oceanic:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}
.btn-oceanic:active {
  filter: brightness(0.95);
}
.btn-oceanic:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-oceanic
GradientRounded

Implementation notes

About the Oceanic CSS button

Oceanic uses a layered color treatment for prominent calls to action. Its rounded corners balance product-friendly softness with a clear boundary. It is built around a two-stop linear gradient anchored on #06b6d4. The interaction stays intentionally restrained.

Usage

<button class="btn-oceanic">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
Modal91% match

Aurora Studio Decision Modal

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Free sample
Input91% match

Aurora Studio Smart Input

Aurora Studio kit

Gradient charactergradient surface
Pro preview
Toggle91% match

Aurora Studio Preference Toggle

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Pro preview
Card91% match

Aurora Studio Feature Card

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Pro preview
Dropdown91% match

Aurora Studio Action Menu

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Pro preview
Form91% match

Aurora Studio Signup Form

Aurora Studio kit

Gradient charactergradient surface
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

Aurora

Berry Crush

Candy

Citrus Pop

Deep Space

Ember

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