Components / Steps

Signer page kit

Steps

Where the person is in a short, linear flow of three or four steps.

  • In the signer page, not yet in the package
  • AGPL-3.0-only
  • Client only · no backend
Theme
The CSS variables this sets
:root {
  --signing-accent: #3157e8;
  --sig-accent: #3157e8;
  --sig-accent-soft: color-mix(in oklab, #3157e8 14%, white);
  --sig-radius: 8px;
  --radius-control: 8px;
  --radius-panel: 12px;
  --font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
}

In the signer page kit, set the accent with accentProps(accent) on the element around the surface; it sets data-signing-accent and --signing-accent. The secure elements take the same values as a checked appearance object instead.

Each state

On a phone only the current step's name shows.

  1. 1Confirm it's you
  2. 2Review and fill in
  3. 3Sign
  1. Confirm it's you (done)
  2. 2Review and fill in
  3. 3Sign
  1. Confirm it's you (done)
  2. Review and fill in (done)
  3. 3Sign

Four steps, with a name

  1. Upload (done)
  2. Place fields (done)
  3. 3Add signers
  4. 4Send

Installation

npx shadcn@latest add …

Not published yet

Not in the registry (packages/ui/registry.json) yet.

Props

className and children are left out: every component that takes them passes them on.

Steps

NameTypeDefaultDescription
stepsstring[]Three or four short step names.
currentnumberIndex of the current step; earlier ones show a check.
labelstring"Progress"Name of the list for screen readers.

Accessibility

  • An ordered list with a name. The current step has aria-current=step; done steps show a check.