Skip to content
PixiKit

Step Flow

A multi-step flow in a frosted panel: a row of numbered steps with a pill that slides to the active one, content that slides or fades while the height animates, and Back and Continue buttons.

pixikit.com/docs/components/step-flow

Customize

Indicator
Orientation
Transition
Linear
Disable step indicators
Show footer
Accent color
Frame
Radius24px
Width440px

Props

28
NameTypeDefaultDescription
childrenReactNodeNoneThe steps. Wrap each one in Step, which can also take a title, description and icon.
stepnumberNoneControls the current step yourself. Use it with onStepChange.
initialStepnumber1The step shown first.
onStepChange(step: number) => voidNoneCalled when the step changes.
onFinalStepCompleted() => voidNoneCalled when the last step is completed.
indicator"numbers" | "dots" | "bars""numbers"Style of the step indicators in the horizontal layout.
orientation"horizontal" | "vertical""horizontal"Indicators across the top, or a rail of numbered steps beside the content.
transition"slide" | "fade" | "none""slide"How the content changes between steps. The height always animates.
linearbooleanfalseOnly lets the indicators jump back to steps that have been reached.
disableStepIndicatorsbooleanfalseStops the indicators from changing the step when clicked.
renderStepIndicator(state: { step: number; currentStep: number; onStepClick: (step: number) => void }) => ReactNodeNoneRenders your own numbered indicator.
showFooterbooleantrueShows the Back and Continue buttons.
backButtonTextstring"Back"Text of the Back button.
nextButtonTextstring"Continue"Text of the Continue button.
completeButtonTextstring"Complete"Text of the Continue button on the last step.
backButtonPropsButtonHTMLAttributes<HTMLButtonElement>{}Extra props for the Back button.
nextButtonPropsButtonHTMLAttributes<HTMLButtonElement>{}Extra props for the Continue button, such as disabled while a step is incomplete.
completedContentReactNodeNoneShown in place of the steps once the last one is completed.
theme"dark" | "light""dark"Color theme of the panel and controls.
accentColorstringNoneColor of completed steps, the progress lines and the Continue button.
framebooleantrueShows the frosted panel around the stepper.
radiusnumber24Corner radius of the panel, in px.
widthnumber | string440Maximum width of the stepper.
classNamestring""
stepContainerClassNamestring""Extra class names for the indicator row.
contentClassNamestring""Extra class names for the content area.
footerClassNamestring""Extra class names for the footer.
styleCSSPropertiesNone

More navigation components in Pro

View all

Related