StepRoot API
API reference for the StepRoot component.
| Name | Type | Default | Description |
|---|
namespace | string | "v0:step" | Namespace for dependency injection (must match StepItem namespace) |
disabled | boolean | false | Disables the entire step instance |
enroll | boolean | false | Auto-select non-disabled items on registration |
mandatory | boolean | "force" | false | Controls mandatory step behavior:
- false (default): No mandatory step enforcement
- true: Prevents deselecting the last selected item
- `force`: Automatically selects the first non-disabled item on registration |
modelValue | T | T[] | — | — |
| Name | Slot Props | Description |
|---|
default | StepRootSlotProps | — |