react-light-tour
A lightweight step-by-step onboarding tour.
A small, customisable React component that walks users through your app one element at a time.
An earlier package. It still works and stays on npm; my newer work is in the other packages.
npm install react-light-tourimport Tour, { Steps } from "react-light-tour";
const steps: Steps = [
{ selector: "#step1", content: "This is the first step" },
{ selector: "#step2", content: "This is the second step" },
];
<Tour isRun={isTourRunning} steps={steps} bodyScrollDisable />What it does
Selector-based steps
Point each step at any CSS selector.
Remembers completion
Pass saveKey and a finished tour stays finished.
Your buttons, your text
Class names and labels for next, previous and done.
Documentation
Everything is documented.
The full README, with installation, usage and props, is on the docs page.
More in react components