OnboardingSpotlight

OnboardingSpotlight requires DOM refs to target elements.
Use with targetRef props pointing to elements in your app.

Step-by-step spotlight tour overlay. Highlights UI elements with a mask and shows tooltip instructions.

API Reference

PropTypeDefaultDescription
steps*SpotlightStep[]Array of tour steps with targetRef, title, description
currentStep*numberCurrent active step index
onNext*() => voidCalled when next is clicked
onPrev*() => voidCalled when previous is clicked
onClose*() => voidCalled when tour is closed
classNamestringAdditional CSS classes

Source Code