Components / Checklist and progress

Signer page kit

Checklist and progress

What is left before the person can finish, with a bar that turns green when they can.

  • 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.

Part done

  • Required fields filled in (done)
  • Add your signature
  • Confirm you agree

Ready

  • Required fields filled in (done)
  • Add your signature (done)
  • Confirm you agree (done)

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.

Checklist

NameTypeDefaultDescription
items{ ok, label, onSelect? }[]What is left. Open items with onSelect take the person there.

ProgressBar

NameTypeDefaultDescription
valuenumberDone so far.
maxnumberTotal.
labelstringWhat it measures, for screen readers.
donebooleanfalseTurns green when the person can finish.

Accessibility

  • The bar is a progressbar with a name and its values.
  • Open items with onSelect are buttons that take the person to the step.