Free
Pro

Stepper

The Stepper component conveys progress through numbered steps. It provides a wizard-like workflow and guides users through a multi-step process.

free

Basic Stepper

A simple horizontal stepper with labels and descriptions.

Personal Information


HTML

Linear Stepper

In linear mode, users must complete the previous step before moving to the next. (Note: Interaction logic can be customized via the [linear] input).

Registration Form Content...

Installation

Run the following command to add this component to your project:

bash

npx base-ui-cli add stepper

API Reference

For AI agents

Copy a prompt with the registry name, CLI install, and import — or add the Base UI MCP server.

bash

npx -y base-ui-mcp

Base UI provides standalone components. Import the exact elements you want to use into your component.

typescript (Example)

// Install: npx base-ui-cli add stepper
// Paths are relative to aliases.components (default: src/app/components)
import { StepComponent } from './stepper/step/step.component';
import { StepperComponent } from './stepper/stepper.component';

@Component({
  selector: 'app-your-component',
  imports: [
    StepComponent,
    StepperComponent
  ],
  template: `...`
})
export class YourComponent {}

API for stepper — generated from JSDoc in the library source.

API reference for stepper
APIMemberTypeDefaultDescription
base-steplabelstring''The primary title text for this step.
base-stepiconstring''Optional SVG icon name to display instead of a number.
base-stepdescriptionstring''Optional secondary subtitle text for this step.
base-stepisValidbooleantrueIf false, prevents advancing past this step if the stepper uses internal navigation.
base-stepperactiveStepIndexnumber0The zero-based index of the currently active step.
base-stepperlinearbooleanfalseIf true, the user is restricted from jumping ahead to uncompleted steps.
base-stepperhideNavigationbooleanfalseIf true, hides the internal 'Next', 'Back', and 'Submit' buttons. Accepts a bare attribute (`hideNavigation`).
base-stepper(stepChange)numberEmitted whenever the active step index changes.
base-stepper(stepperSubmit)voidEmitted when the stepper is submitted on the final step.
base-steppersuccessTitleunknown'All done!'The title displayed on the success screen after submission.
base-steppersuccessMessageunknown'Your request has been successfully submitted.'The message displayed on the success screen after submission.