Components / People and status

Signer page kit

People and status

Who is part of the envelope and where each person is. Status is a word, never only a colour.

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

Four people, one in each status

  • Ada Example (you)Signed
  • Bo SampleInvited
  • Cy DemoWaiting for their turn
  • Dee TestDeclined

Avatars

Status pills

SignedInvitedWaitingDeclined

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.

PersonList

NameTypeDefaultDescription
people{ name, you?, status, label }[]Status is a word in a pill, never only a colour.

Avatar

NameTypeDefaultDescription
namestringInitials are taken from it.
highlightbooleanfalseThe current person, in the accent.
size"sm" | "md""md"32 or 36 px.

StatusPill

NameTypeDefaultDescription
status"signed" | "declined" | "waiting" | "pending"Colour follows the word: signed green, declined red, waiting blue (their turn has not come), pending grey (invited, not acted yet).

Helpers

NameTypeDefaultDescription
initials(name: string) => stringUp to two initials, for Avatar.

Accessibility

  • Avatars are decorative; the name is text next to them.
  • The current person is marked in text (you), not only by colour.