Primary button

Base button with a subtle springy hover and a light press on click.

CSS onlyHover and press
BackgroundGridAccent

Corners

SharpDefaultRound

Shadow

NoneNoneStrong

Motion

NoneDefaultBounce
<style>
.ux-btn{height:48px;padding:0 24px;border:0;border-radius:var(--rp,999px);background:var(--accent,#cc4a26);color:#fff;font:600 15px system-ui;cursor:pointer;box-shadow:none;transition:transform var(--dur,.3s) var(--ease,cubic-bezier(.3,1.25,.6,1)),background-color var(--dur,.15s) var(--ease,ease)}
.ux-btn:hover{transform:scale(1.01);background:color-mix(in srgb,var(--accent,#cc4a26) 92%,#000)}
.ux-btn:active{transform:scale(.99)}
.ux-btn:focus-visible{outline:2px solid var(--accent,#cc4a26);outline-offset:3px}
</style>

<button class="ux-btn" type="button">Start free trial</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.