DS0
Components

Stepper

Guides users through a multi-step process by displaying numbered steps with completion status.

Overview

Stepper displays a sequence of numbered steps that guide users through a multi-step process. Steps show completed, active, and upcoming states. Supports horizontal and vertical orientations.

Usage

<Stepper
  activeStep={currentStep}
  steps={[
    { label: 'Account', description: 'Create your account' },
    { label: 'Profile', description: 'Fill in your profile' },
    { label: 'Review', description: 'Review and submit' },
  ]}
/>

Accessibility

  • Uses aria-current="step" on the active step
  • Completed steps have aria-label indicating completion
  • Supports keyboard navigation between steps

API Reference

PropTypeDefaultDescription
stepsStepDef[][]Step definitions
activeStepnumber0Current active step
orientation'horizontal' | 'vertical''horizontal'Layout direction
onStepClick(step: number) => voidStep click handler
clickablebooleanfalseAllow clicking completed steps
ComponentWhen to Use Instead
TabsContent sections without sequence
ProgressSingle progress indicator
BreadcrumbNavigation breadcrumbs

On this page