Skip to content
Agents / Interaction

Multi-step flow

Guide a shared human-agent workflow through review and completion.

Registry
Loading state
Checking browser…
  1. 1Dates
  2. 2Details
  3. 3Review

Dates

Activity 0

Run a tool to see its activity here.

Installation

  1. Add the registry entry to your app.

    npx shadcn@latest add @fabrials/wizard

    Without the named registry, use the address: https://ui.fabrials.com/r/wizard.json

API reference

Prop / exportTypeDescription
stepsWizardStep[]Title, content and optional async validation.
stepnumberControlled zero-based step.
onStepChange(step) => voidUpdate the active step.
onComplete() => Promise<unknown>Completion action.

Behavior

Register a prepare tool to populate fields and advance to review. The final business operation belongs to your completion handler.

Accessibility

Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.