Skip to content
RefineUI

Stepper

Step list for multi-step flows with indicators and titles.

Stepper tracks progress through ordered steps. Use it for wizards and onboarding. For linear progress alone, prefer Progress or ProgressStepper.

  1. AccountProfile & email
  2. PlanBilling cycle
  3. ReviewConfirm details

Overview

Machine-readable contract from Component Spec.

component: stepperexport: Stepperversion: 1attributes: data-refineui=stepper

Anatomy

Partdata-refineui
rootstepper
contentstepper-content
descriptionstepper-description
indicatorstepper-indicator
itemstepper-item
liststepper-list
separatorstepper-separator
separator_fillstepper-separator-fill
separator_railstepper-separator-rail
separator_trackstepper-separator-track
titlestepper-title

States

ScopeCategoryValues
componentcomponentdata-state: complete, current, upcoming
componentenvironmentforced-colors, dir
stepper-itemcomponentdata-state: complete, current, upcoming

Keyboard

KeyActionNative
Enteractivatetrue
Spaceactivatetrue

Layout

PropertyValue
directionlogical
rtltrue
npm install @refineui/react @refineui/tokens
import {
Stepper,
StepperList,
StepperItem,
StepperIndicator,
StepperTitle,
StepperDescription,
StepperSeparator,
} from "@refineui/react";
<Stepper value={step} onValueChange={setStep}>
<StepperList>
<StepperItem value={0}>
<StepperIndicator>1</StepperIndicator>
<StepperTitle>Account</StepperTitle>
<StepperDescription>Profile & email</StepperDescription>
</StepperItem>
<StepperSeparator />
<StepperItem value={1}>
<StepperIndicator>2</StepperIndicator>
<StepperTitle>Plan</StepperTitle>
</StepperItem>
</StepperList>
</Stepper>