Arrow button

Action button with an arrow that slides right on hover.

CSS onlyIcon
BackgroundGridAccent

Corners

SharpDefaultRound

Shadow

NoneNoneStrong

Motion

NoneDefaultBounce
<style>
.ux-btn-arrow{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border:0;border-radius:calc(14px * var(--r,1));background:var(--accent,#cc4a26);color:#fff;font:600 15px system-ui;cursor:pointer}
.ux-btn-arrow svg{transition:transform var(--dur,.2s) var(--ease,ease)}
.ux-btn-arrow:hover svg{transform:translateX(4px)}
.ux-btn-arrow:focus-visible{outline:2px solid var(--fg,#14151a);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.ux-btn-arrow svg{transition:none}}
</style>

<button class="ux-btn-arrow" type="button">Discover more <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></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.