Skip to content

Stepper

Steps of a multi-step flow - a checkout, a wizard - with their triggers, the current step's content and next / previous buttons.

Styled with CSS Tailwind

Linear checkout

The steps are an ordered list; the current step's trigger has aria-current="step" and every part of a step carries data-state="active|completed|inactive". With Linear a step can only be reached once the steps before it are complete, and CanGoNext validates the current one (here: accept the terms). The content of a step is a region named by its title.

An unhandled error has occurred. Reload 🗙