TStepperItemStatus
type
Navigation
Lifecycle status of a single step inside OrigamStepper — drives the step icon, colour and interactive affordances.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- active
- Currently focused step. The header is highlighted and the step content panel is visible.
- done
- Step has been completed. A checkmark icon replaces the step number and the step is navigable to in non-linear mode.
- error
- Step completed with a validation error. Renders with the danger intent colour and a warning icon.
- pending
- Step has not been visited yet. Renders with a neutral style and is not interactive unless the stepper is non-linear.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Stepper with mixed statuses