Onboarding stepper
A three-step workspace setup with a progress stepper, validation before continuing, and a final summary.
bunx --bun @getweini/cli@latest add alert button card input radio-group stepper tags-inputCustomize
- The Stepper owns the progress and the panel; the block owns validation. Later steps stay disabled until the earlier ones pass, so people cannot jump ahead, while finished steps can be reopened.
- Step one shows its error only after blur or a failed Continue, with `role="alert"` and `aria-invalid`. Step two is optional, marked through `optional-label`, and offers Skip for now when no address was added.
- Edit the `items` array in the block to add a step, then add a matching branch in the panel. The Continue button becomes Create workspace on the last step and emits `complete` with the collected values.
- Pass `loading` while you save, and `error` to show a failed save. Plans come from `plans`; all text is in `copy`.
- The stepper connectors and arrow keys follow the text direction, so the flow reads correctly in RTL.