Stepper

The ArcadiaStepper component displays a sequence of steps with visual indicators for completed, active, and upcoming states. Each step is an ArcadiaStep.

Basic Usage

<ArcadiaStepper @bind-ActiveIndex="currentStep">
    <ArcadiaStep Title="Account" Description="Create your account" />
    <ArcadiaStep Title="Profile" Description="Add your details" />
    <ArcadiaStep Title="Confirm" Description="Review and submit" />
</ArcadiaStepper>

Vertical Stepper

<ArcadiaStepper @bind-ActiveIndex="step" Orientation="vertical">
    <ArcadiaStep Title="Step 1" Icon="1" />
    <ArcadiaStep Title="Step 2" Icon="2" />
    <ArcadiaStep Title="Step 3" Icon="3" Disabled="true" />
</ArcadiaStepper>

ArcadiaStepper Parameters

ParameterTypeDefaultDescription
ActiveIndexint0Zero-based index of the active step. Supports two-way binding.
Orientationstring"horizontal"Orientation: "horizontal" or "vertical".
ChildContentRenderFragment?nullThe step elements.
Classstring?nullAdditional CSS class names.
Stylestring?nullInline CSS styles.

ArcadiaStepper Events

EventTypeDescription
ActiveIndexChangedEventCallback<int>Fired when the active step index changes.

ArcadiaStep Parameters

ParameterTypeDefaultDescription
Titlestring""Step title text.
Descriptionstring?nullOptional step description below the title.
Iconstring?nullOptional icon in the step indicator instead of the step number.
DisabledboolfalseWhether this step is disabled (non-clickable).

Accessibility

  • The stepper uses role="list" with aria-label="Progress steps".
  • Each step uses role="listitem" with aria-current="step" on the active step.
  • The indicator button uses aria-label including the step number and title.
  • Completed steps show a checkmark SVG with aria-hidden="true".