Steps

Indicate progress through numbered steps in multi-step workflows.

Props#

Steps and all sub components accepts all Box props.

Steps#

PropTypeDefaultDescription
indexnumberThe current step index.
onChange(index: number) => voidCallback invoked when the step changes.
stepstring | numberThe current step index or name.
stepperPropsStepperPropsProps to pass to the stepper component.

StepsItem#

PropTypeDefaultDescription
descriptionstring | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>The step description
iconstring | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>Show an icon instead of the step number
isActivebooleanShow the step as active
isCompletedbooleanShow the step as completed
namestringThe step name
render( props?: any, ) => ReactElement<any, string | JSXElementConstructor<any>>Custom render function
titlestring | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>The step title

StepperContent#

PropTypeDefaultDescription
isOpenbooleanShow or hide the content, only when orientation is vertical.

Was this helpful?