Skip to content
Star

PxStepperHeader

A single step header — icon, title, description, and active/inactive styling based on how its stepValue compares to the current activeStep. Used to build custom step indicators (PxFormWizard renders its own step nav internally rather than using this component).

Basic Usage

Demo

Props

Props
PropTypeDefaultDescription
iconrequiredComponentIcon component rendered inside the step's circle marker.
titlerequiredstringStep title text.
descriptionrequiredstringStep description text, shown below the title.
requiredbooleanfalseShows a red asterisk next to the title.
stepValuestring | number'1'This step's own identifying value.
activeStepstring | number'1'The currently active step's value — the marker is styled as 'reached' while stepValue <= activeStep.

Emits

EventPayloadDescription
activateEmitted when the step header is clicked.

Built with VitePress