Tour

Interactive product onboarding guide walkthroughs and visual highlights for specific UI controls.

Preview & Interactive Laboratory

Interactive Walkthrough Guide

Launch a live walkthrough tour targeting UI controls on this page. Click below to initiate.

Contextual Tooltip Highlight

Basic Highlight
Implemented using the Popover component to anchor helpful tooltips to elements.

Usage & Implementation

import { Tour } from "@/components/ui/tour"

const steps = [
  { target: "#step-1", content: "Check this out!" }
];

<Tour steps={steps} run={run} onFinish={() => setRun(false)} />
React / Tailwind

Granular Customization

1

Steps Array

Configures targeting elements (IDs, classes) and instructional messages.

className={`steps={steps}`}
2

Run Option

Simple boolean anchor to launch guide walkthroughs dynamically.

className={`run={run}`}

API Reference (Props)

PropTypeDefaultDescription
stepsStep[]undefinedArray of joyride steps detailing target query selectors and descriptions.
runbooleanfalseWhen true, launches and executes the guide overlay.
onFinishfunctionundefinedCallback triggered when the tour completes or is skipped.