booleanWhether to close the tour when the user presses the escape key
closeOnInteractOutside
true
booleanWhether to close the tour when the user clicks outside the tour
id
stringThe unique identifier of the machine.
ids
{
content?: string;
title?: string;
description?: string;
positioner?: string;
backdrop?: string;
arrow: string;
}The ids of the elements in the tour. Useful for composition.
keepMounted
booleanWhether to keep the component mounted after exit.
keyboardNavigation
true
booleanWhether to allow keyboard navigation (right/left arrow keys to navigate between steps)
lazyMount
booleanWhether to enable lazy mounting.
onFocusOutside
(event: FocusOutsideEvent) => voidFunction called when the focus is moved outside the component
onInteractOutside
(event: InteractOutsideEvent) => voidFunction called when an interaction happens outside the component
onPointerDownOutside
(event: PointerDownOutsideEvent) => voidFunction called when the pointer is pressed down outside the component
onStatusChange
(details: StatusChangeDetails) => voidCallback when the tour is opened or closed
onStepChange
(details: StepChangeDetails) => voidCallback when the highlighted step changes
onStepsChange
(details: StepsChangeDetails) => voidCallback when the steps change
preventInteraction
false
booleanPrevents interaction with the rest of the page while the tour is open