Skip to main content

Stepper

A horizontal step indicator showing progress through a multi-step flow.

When to use it

Use Stepper to visualise a user's progress through a multi-step process, such as an onboarding or checkout flow. Completed steps show a check mark; the active step shows its number in an outlined circle; future steps are greyed out.

Import

import 'package:catalyst_ui/catalyst_ui.dart';

Usage

Stepper(
current: 1,
steps: const ['Account', 'Details', 'Review'],
)

Parameters

ParameterTypeDefaultDescription
currentintrequiredThe zero-based index of the currently active step.
stepsList<String>requiredThe ordered list of step labels.
checkIconIconData?nullIcon to display on completed steps. Falls back to Iconography.checkIcon.

Iconography

Completed steps show checkIcon, falling back to context.iconography.checkIcon.