booleanWhether to run the enter animation when the component mounts.
closeOnEscape
true
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
true
booleanWhether to keep the component mounted after exit.
keyboardNavigation
true
booleanWhether to allow keyboard navigation (right/left arrow keys to navigate between steps)
lazyMount
false
booleanWhether to enable lazy mounting.
onExitComplete
() => voidCallback that fires when the exit animation of the dialog completes.
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