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
descriptiontype ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | PromiseLikeOfReactNodeThe step description
icontype ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | PromiseLikeOfReactNodeShow 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
titletype ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | PromiseLikeOfReactNodeThe step title

StepperContent#

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

Was this helpful?