Patterns
OnboardingTour
Step-by-step onboarding tour with progress dots, skip button, and animated transitions.
Quick Preview
๐
Welcome!
This quick tour will show you around the interface in just a few steps.
Installation
npm install lucide-react
// Copy component fromsrc/components/patterns/OnboardingTour.tsx
Usage
import OnboardingTour from '@/components/patterns/OnboardingTour'// Self-contained step-by-step onboarding wizard<OnboardingTouronComplete={() => markOnboarded()}/>
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
steps | TourStep[] | - | Array of tour steps (emoji, title, content) |
onComplete | () => void | - | Called when tour finishes or is skipped |
className | string | - | Additional CSS classes |