Soft button
Tinted button with accent text on a light accent background.
BackgroundGridAccent
Corners
SharpRound
Shadow
NoneStrong
Motion
NoneBounce
<style>
.ux-bsoft{height:40px;padding:0 16px;border:1px solid transparent;border-radius:calc(10px * var(--r,1));font:600 14px system-ui;cursor:pointer;transition:background-color var(--dur,.15s) var(--ease,ease),border-color var(--dur,.15s) var(--ease,ease),color var(--dur,.15s) var(--ease,ease);background:color-mix(in srgb,var(--accent,#cc4a26) 14%,transparent);color:var(--accent,#cc4a26)}
.ux-bsoft:hover{background:color-mix(in srgb,var(--accent,#cc4a26) 22%,transparent)}
.ux-bsoft:focus-visible{outline:2px solid var(--accent,#cc4a26);outline-offset:2px}
</style>
<button class="ux-bsoft" type="button">Soft</button>When to use it
Use this for an action someone triggers directly — submitting, confirming, or moving to the next step. Keep the label a short verb so the intent is obvious.
Accessibility
Check that it reaches every state with the keyboard alone before you ship it, and keep the focus ring instead of removing it for looks. It has no JavaScript dependency, so it keeps working if a script fails to load, and it is built on native form controls or semantics rather than divs pretending to be one. Colors are read from CSS custom properties, so they follow your light or dark theme and you can raise contrast globally without touching this component.