Skip to Content
ComponentsStepper

Stepper

Display progress through a multi-step process with visual step indicators.

Import

import { Stepper, LinearStepper, SegmentedStepper } from "@raydenui/ui";

Usage

Basic Stepper

Account
Profile
Review
const steps = [ { title: "Account" }, { title: "Profile" }, { title: "Review" }, ]; <Stepper steps={steps} activeStep={1} />

With Descriptions

AccountCreate your account
ProfileComplete your profile
ReviewReview and submit
const steps = [ { title: "Account", description: "Create your account" }, { title: "Profile", description: "Complete your profile" }, { title: "Review", description: "Review and submit" }, ]; <Stepper steps={steps} activeStep={0} />

Number Indicators

Account
Profile
3
Review
<Stepper steps={steps} activeStep={2} indicator="number" />

With Status Control

Completed
In Progress
Pending
Disabled
const steps = [ { title: "Completed", status: "completed" }, { title: "In Progress", status: "active" }, { title: "Pending", status: "incomplete" }, { title: "Disabled", status: "disabled" }, ]; <Stepper steps={steps} />

LinearStepper

A simple progress bar showing step completion.

3 / 5 complete

<LinearStepper currentStep={3} totalSteps={5} />

Without Label

<LinearStepper currentStep={2} totalSteps={4} showLabel={false} />

SegmentedStepper

A segmented progress bar with individual step segments.

2 / 5 complete

<SegmentedStepper currentStep={2} totalSteps={5} />

Without Label

<SegmentedStepper currentStep={3} totalSteps={6} showLabel={false} />

Props

Stepper

PropTypeDefaultDescription
stepsStepItem[]—Array of step items (required)
activeStepnumber—Current active step index (0-based)
orientation"horizontal" | "vertical""horizontal"Layout direction
indicator"dot" | "number" | "icon""dot"Indicator style
classNamestring—Additional CSS classes

StepItem

PropTypeDescription
titlestringStep title (required)
descriptionstringOptional description
status"completed" | "active" | "incomplete" | "disabled"Step status
iconReactNodeCustom icon for completed/active state

LinearStepper

PropTypeDefaultDescription
currentStepnumber—Current step (1-based, required)
totalStepsnumber—Total number of steps (required)
showLabelbooleantrueShow “X / Y complete” label
classNamestring—Additional CSS classes

SegmentedStepper

PropTypeDefaultDescription
currentStepnumber—Current step (1-based, required)
totalStepsnumber—Total number of steps (required)
showLabelbooleantrueShow “X / Y complete” label
classNamestring—Additional CSS classes

Step Status

StatusCircle StyleText Style
completedPrimary background, white checkGrey text
activePrimary border, dot/numberDark text
incompleteGrey borderGrey text
disabledGrey backgroundLight grey text

Accessibility

  • Step indicators use semantic HTML
  • Active step is visually distinguished
  • Connector lines show progress relationships
  • Supports keyboard navigation
Last updated on