← All proposals

New Business Account

A new component, NewBusinessAccount, in the loading indicators family.

Net-new componentOpen in Storybook

proposals/NewBusinessAccount/context.md40 lines · View on GitHub

New Business Account

Problem

Creating a new business account (BA) and its first workspace takes a few seconds and has two stages. A plain spinner does not show what is being made, and the screen jumps to the next page with no closing moment. This happens for every new BA, for new and existing customers. A similar flow for migration may follow (TBD).

Proposal

A new component, NewBusinessAccount, in the loading indicators family. Two cards, Business account then Workspace, appear one after the other with a line drawn between them; their text shimmers while they are created. When the work is done it lands on a headline ("You're all set.") with a yellow marker bar behind it (variant 13 of the "Business account setup animation" artifact, in light and dark: the bar is yellow with dark text in both themes).

  • The component only animates. The screen owns the work and the redirect.
  • The whole choreography always plays (about 5 seconds). If the work finishes sooner, the landing waits for it. If the work takes longer, the text keeps shimmering until isComplete is true.
  • onComplete fires 2 seconds after the landing starts, so the redirect always follows the full animation.
  • Always two items (Business account, Workspace). All text comes from props.

Challenge

  • Does PDS already do this? No. Closest parts: Spinner, ThinkingState (text shimmer), Skeleton, VerticalStepper. None draws connected cards that land on a completed state.
  • Could an existing component carry it? No; a prop on ThinkingState or Stepper would stretch their role.
  • Composition or component? Own timing and state (working, landed), so a component, not a recipe.
  • Who needs it? Every new BA creation (new or existing customers). A second use (migration) is possible, not known.
  • Overlap: SpinnerSequence (same moment in the sign-up flow, different shape). Kept separate; "see also" in its records. Not a variant of it: it would leave half its props meaningless.
  • Cost: new props (8), one state, a Figma component later, docs. Without it the NCX flow keeps the artifact's code.
  • Verdict: new component. Designer's choice (asked whether to extend SpinnerSequence; chose new).

Source

Claude artifact "Business account setup animation", variant 13 (https://claude.ai/artifact/1Yz42QP5L6UpdJbYrgUHG6). No Figma or Jira link.

Constraints

  • Tokens only. Corners and shadow match the original: --pds-border-radius-card, --pds-elevation-raised. Not the Panel radius (0.75rem).
  • Light and dark both designed. The bar is --pds-color-badge-brand-background with --pds-color-badge-brand-foreground.
  • Reduced motion: no movement, final layout; no 5 second wait.
  • One polite live region announces the working and the complete text; the visible headline and the shimmer copies are hidden from screen readers.

Open questions

  • None. Icons settled: building and folder (see decisions.md).