Product tour preview
Guide people through real interface features with anchored, nonblocking steps.
pro · Feedback · composite
When to use
- Use it when a page needs guide people through real interface features with anchored, nonblocking steps.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose alert instead when inline notices with icons, actions and optional dismissal is the actual interface need, rather than product tour.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/product-tourImport components/ui/tidal.css, components/ui/product-tour.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/product-tour.css";
import{TidalProductTour}from"./components/ui/product-tour";
export default()=><div className="tidal-scope"><TidalProductTour currentId={"example"} onDismiss={() => {}} onFinish={() => {}} onStepChange={() => {}} steps={[{id:"example",title:"Demo",description:"Demo"}]}/></div>;API and props
TidalProductTour.currentId (required)string | nullRequired current id value accepted by this exported component.
TidalProductTour.onDismiss (required)(reason: "skip" | "escape" | "dismiss") => voidCallback invoked when the dismiss interaction is proposed.
TidalProductTour.onFinish (required)() => voidCallback invoked when the finish interaction is proposed.
TidalProductTour.onStepChange (required)(id: string) => voidCallback invoked when the step change interaction is proposed.
TidalProductTour.steps (required)ReadonlyArray<TidalTourStep>Required steps value accepted by this exported component.
TidalProductTour.buttonProps((action: TourAction) => ButtonProps) | undefinedOptional button props value accepted by this exported component.
TidalProductTour.classNamestring | undefinedOptional class name value accepted by this exported component.
TidalProductTour.dir"ltr" | "rtl" | undefinedOptional dir value accepted by this exported component.
TidalProductTour.formatProgress((current: number, total: number) => string) | undefinedOptional format progress value accepted by this exported component.
TidalProductTour.labelsPartial<{ previous: string; next: string; finish: string; skip: string; missing: string; invalid: string; }> | undefinedOptional labels value accepted by this exported component.
TidalProductTour.theme"light" | "dark" | undefinedOptional theme value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.