Tour API
Headless guided-tour compound: per-step Root context, activator registry, portaled content with CSS-anchor positioning, SVG highlight cutout, and keyboard chrome on top of createTour.
Explore these related pages for additional context and usage patterns.
IDStep id this root represents
string | undefinedNamespace for dependency injection
Default: "v0:tour"
anyStep id or ids this activator belongs to
number | undefinedExtra padding reported to Tour.Highlight
boolean | undefinedScroll the activator into view when its step becomes active
Default: true
ScrollIntoViewOptions | undefinedOptions forwarded to scrollIntoView
string | undefinedNamespace for dependency injection
Default: "v0:tour"
anyPreferred placement relative to the activator
Default: "bottom"
number | undefinedGap from the activator or viewport edge, in px
Default: 16
string | undefinedNamespace for dependency injection
Default: "v0:tour"
string | undefinedNamespace for dependency injection
Default: "v0:tour"
number | undefinedBackdrop opacity (0–1)
Default: 0.5
number | undefinedExtra padding around the cutout when the activator has none
Default: 0
boolean | undefinedSwallow clicks on the backdrop. Does not stop the tour.
Default: false
boolean | undefinedSwallow clicks on the cutout. Does not stop the tour.
Default: false
string | undefinedNamespace for dependency injection
Default: "v0:tour"
string | undefinedHotkey that moves to the previous step
Default: "arrowleft"
string | undefinedHotkey that moves to the next step
Default: "arrowright"
string | undefinedHotkey that stops the tour
Default: "escape"
string | undefinedNamespace for dependency injection
Default: "v0:tour"
string | undefinedNamespace for dependency injection
Default: "v0:tour"
boolean | undefinedOverride disabled state
Default: false
string | undefinedNamespace for dependency injection
Default: "v0:tour"
boolean | undefinedOverride disabled state
Default: false
string | undefinedNamespace for dependency injection
Default: "v0:tour"
string | undefinedNamespace for dependency injection
Default: "v0:tour"
string | undefinedNamespace for dependency injection
Default: "v0:tour"