All styles
Outline & Ghost

Accent Bar CSS Button

Free25 lines · no JS · WCAG fails 1.3
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-accent-bar {
  display: inline-block;
  padding: 12px 26px;
  border: none;
  border-left: 3px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, padding 0.2s ease;
}
.btn-accent-bar:hover {
  background: rgba(245, 158, 11, 0.17);
  padding-left: 32px;
}
.btn-accent-bar:active {
  background: rgba(245, 158, 11, 0.26);
}
.btn-accent-bar:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-accent-bar
Outline & GhostAsymmetric

Implementation notes

About the Accent Bar CSS button

Accent Bar uses a lightweight treatment that keeps secondary actions visible. Its asymmetric geometry creates a deliberate visual focal point. The interaction stays intentionally restrained.

Usage

<button class="btn-accent-bar">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
Asymmetric
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
Modal72% match

Quiet Paper Decision Modal

Quiet Paper kit

outline surfaceMinimal character
Unlock with Pro →
Free sample
Input72% match

Quiet Paper Smart Input

Quiet Paper kit

outline surfaceMinimal character
Pro preview
Toggle72% match

Quiet Paper Preference Toggle

Quiet Paper kit

outline surfaceMinimal character
Unlock with Pro →
Pro preview
Card72% match

Quiet Paper Feature Card

Quiet Paper kit

outline surfaceMinimal character
Unlock with Pro →
Pro preview
Dropdown72% match

Quiet Paper Action Menu

Quiet Paper kit

outline surfaceMinimal character
Unlock with Pro →
Pro preview
Form72% match

Quiet Paper Signup Form

Quiet Paper kit

outline surfaceMinimal character
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

Offset Pop

Split Center

Sketch Wobble

Blueprint Trace

Bold Stroke

Curtain Down

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