Tour

Introduce people to new features using multi-step tours.

Props#

Tour#

PropTypeDefaultDescription
childrentype ONLY_FOR_FORMAT = | string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | PromiseLikeOfReactNode
defaultIsActivebooleanActivate the tour by default.
initialStepnumberThe initial step index.
isActivebooleanMake the tour controlled.
onComplete() => voidCalled when the last step is completed.
onDismiss(index: number) => voidCalled when the current step is closed or dismissed.

TourSpotlight#

PropTypeDefaultDescription
closeOnClickboolean
hideOverlayboolean
motionPreset"fade" | "none"
spacingnumber

Was this helpful?