Steps

Horizontal stepper with done, current and upcoming steps.

CSS onlyProgress
  1. ✓Account
  2. 2Details
  3. 3Review
BackgroundGridAccent

Corners

SharpDefaultRound

Shadow

NoneNoneStrong

Motion

NoneDefaultBounce
<style>
.ux-steps{container-type:inline-size;display:flex;align-items:center;width:100%;max-width:420px;margin:0;padding:0;list-style:none;font:500 14px system-ui;color:var(--muted,#6b6f7b)}
.ux-steps li{display:flex;align-items:center;gap:8px;white-space:nowrap}
.ux-steps li:not(:last-child){flex:1}
.ux-steps li.done:not(:last-child){flex:.25 1 auto}
.ux-steps li:not(:last-child)::after{content:"";flex:0 1 40px;min-width:8px;height:2px;margin:0 8px;background:var(--line,#cfd2da);transition:background-color var(--dur,.2s) var(--ease,ease)}
.ux-steps li.done:not(:last-child)::after{background:var(--accent,#cc4a26)}
.ux-steps b{display:grid;place-items:center;flex:none;width:28px;height:28px;border:2px solid var(--line,#cfd2da);border-radius:50%;font-size:13px;transition:background-color var(--dur,.2s) var(--ease,ease),border-color var(--dur,.2s) var(--ease,ease),color var(--dur,.2s) var(--ease,ease)}
.ux-steps .done b{background:var(--accent,#cc4a26);border-color:var(--accent,#cc4a26);color:#fff}
.ux-steps .now b{border-color:var(--accent,#cc4a26);color:var(--accent,#cc4a26)}
.ux-steps .now,.ux-steps .done{color:var(--fg,#14151a)}
@container (max-width:340px){.ux-steps li:not(.now) span{display:none}}
</style>

<ol class="ux-steps"><li class="done"><b>&#10003;</b><span>Account</span></li><li class="now" aria-current="step"><b>2</b><span>Details</span></li><li><b>3</b><span>Review</span></li></ol>

When to use it

Use this to help people move around your product or understand where they are, rather than to submit data or trigger a one-off action.

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.