Skip to main content

Examples

Interactive

Text Custom Format

Dots

Interactive Progress

Progress

Props

MobileStepper

A compact, mobile-friendly stepper that shows progress through a sequence of steps. Supports three indicator variants: dots, a progress bar, or text.
number
required
Zero-indexed active step, clamped to 0steps - 1.
number
required
Total number of steps.
string
default:"Progress"
Accessible label for the stepper region.
ReactNode
Content rendered on the left (typically a “Back” button).
((activeStep: number, totalSteps: number) => string)
Formatter for the aria-valuetext on dots and progress variants. Receives (activeStep, totalSteps) where activeStep is 1-indexed.
((activeStep: number, totalSteps: number) => string)
Custom formatter for the text variant. Receives (activeStep, steps) where activeStep is 1-indexed for display. Only used when variant is "text".
ReactNode
Content rendered on the right (typically a “Next” button).
"bottom" | "static"
default:"static"
Positioning mode.
string
default:"Step progress"
Accessible label for the step progress indicator (dots/progress bar).
"progress" | "text" | "dots"
default:"dots"
Step indicator style.

Exported types

Also exported from @fanvue/ui: MobileStepperPosition, MobileStepperProps, MobileStepperVariant.
Setup: Installation · Theming