Here are the examples for the Tour package
This is the minimal example
Example to show the customizable behavior of the Mask click event. Try clicking the Mask and the Tour will proceed to the next step.
onClickMaskDocsExample to show the customizable behavior of the Close click event. Try clicking the 'x' and the Tour will proceed to the next step.
onClickCloseDocsExample to show the customizable behavior of the Close click event. Try clicking the 'x' and the Tour will proceed to the next step.
disableKeyboardNavigationDocsUse smooth scroll between steps if they aren't visible in viewport
scrollSmoothDocsCustom wrapper, mask and popover paddings
paddingDocsCustom Prev and Next button
prevButtonDocsnextButtonDocsControl currenStep externally. Useful when using global state.
setCurrentStepDocscurrentStepDocsRTL mode
rtlDocsCustom Tour, Mask and Popover components and parts styles
stylesDocsIn this example, we are usingafterOpenprop to lock the Y scroll and re-enable it throughbeforeCloseprop.
afterOpenDocsbeforeCloseDocsCreate a custom Badge content
badgeContentDocsDisable navigating through click in dots buttons
disableDotsNavigationDocsDisable highlighted area interaction. This example shows how to disable the default behavior and how to add an extra functionality when clicking this area. Try to select the highlighted text.
disableInteractionDocsToggle Navigation parts as you want
showBadgeDocsshowCloseButtonDocsshowNavigationDocsshowPrevNextButtonsDocsshowDotsDocsStart Tour at specific step. Keep in mind that the number is zero based, so 2 is the third step.