Skip to Content
SmartUI

Stepper

Steps of a sequential flow: done, current and upcoming.

  1. 2Schedule
  2. 3Details
  3. 4Confirm

Vertical

  1. ProfileReviewed by SmartMCU
  2. Schedule
  3. 3Catalog
  4. 4Staff

Usage

import { Stepper } from '@smartui/react';
import '@smartui/react/styles.css';

When to use

  • Flows with three to five steps.

When not to use

  • Sections that can be opened in any order. Use Tabs.

Props

PropTypeDefaultDescription
steps{ key, label, description? }[]required
currentStepnumberrequired
orientation'horizontal' | 'vertical''horizontal'
onStepPress(index) => void-Only completed steps can be pressed.

Accessibility

  • The current step is marked. Status uses a check mark and a number, not only color.

On this page