Skip to content
fabrials/ ui

Interaction

Multi-step flow

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

Checking browser…
  1. 1Dates
  2. 2Details
  3. 3Review

Dates

Activity 0

Run a tool to see its activity here.

Installation

Terminal
bunx shadcn@latest add https://ui.fabrials.com/r/wizard.json

API

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 & compatibility

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

Accessibility

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 fully keyboard operable.