IStepperItem

interface
Data Shapes

Descriptor for a single step inside <OrigamStepper>. Used in the items prop array to define the title, optional subtitle, icon, and initial status of each step.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

title
required
string
Primary label displayed for this step.
subtitle
string
Secondary label displayed below the title.
icon
TIcon
Custom icon overriding the default step number indicator.
status
TStepperItemStatus
Initial status of the step (e.g. complete, error). Drives visual state independently of the modelValue.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Stepper with items array

typescript