Search

Search components and flows across the catalog

ThatDesignUIOriginalInteractive preview

Product tour with spotlight

A four-step guided tour that dims the page, glides a rounded spotlight between features and explains each one in a card with progress, Back, Next and Skip.

Category
Onboarding
Platform
Responsive

Interactive componentClick through it, resize it, or switch states. It’s real UI, not a screenshot.Invite state

Use this component

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/product-tour.json

2. Use it

Every prop is optional
app/page.tsx
import ProductTour from "@/components/product-tour";

export default function Page() {
  return <ProductTour />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. A sample dashboard (white sidebar, search, a black New button, three stat cards) sits under a 62% dark overlay with a rounded cut-out spotlight and a thin periwinkle outline around the current feature.
  2. Beside the spotlight a 300px white card (16px radius) shows a '2 of 4' pill, Skip tour, a 16px title, one or two lines of help, a 4px indigo progress bar and Back / Next (Finish on the last step).
  3. The spotlight glides between targets in 0.5s; before the tour a dark pill at the bottom right with a pulsing indigo beacon offers 'Take the tour', and after it says 'You're all set' with Replay.

How it behaves

  • Take the tour highlights the search field first; Next moves the spotlight to the sidebar, then New, then the stat cards.
  • Arrow keys step through the tour and Escape ends it, returning focus to the start button.
  • The card never leaves the visible area, even at 375px wide.
  • Under reduced motion the spotlight jumps instead of gliding and the beacon doesn't pulse.

More from ThatDesignUI

Video player with custom controls

Video player with custom controls

ThatDesignUIOriginalMedia component

Cookie consent and preferences

Cookie consent and preferences

ThatDesignUIOriginalPrivacy component

Month calendar with agenda

Month calendar with agenda

ThatDesignUIOriginalProductivity component

Comment thread with mentions

Comment thread with mentions

ThatDesignUIOriginalCollaboration component

Product tour with spotlight — ThatDesignUI