NextStepjs

NextStep is an open source onboarding library that lets Next.js and React developers build interactive product tours.

DevTools Live product
0
0
9/11/2026

The Problem

Developers building Next.js and React applications often need to guide new users through their product with step by step tours, but building this from scratch requires handling animations, multi page navigation, and interaction triggers. Without a dedicated library, teams must write custom logic for targeting DOM elements, coordinating steps across pages, and tracking user progress through onboarding flows. This is especially awkward in Next.js apps that use different routers (App Router, Pages Router) or frameworks like React Router and Remix, since navigation between tour steps needs framework specific adapters.

The Solution

NextStep is a lightweight React library, installed via npm alongside Motion, that wraps an application in a NextStepProvider to define and run onboarding tours. Developers define tours as arrays of steps with titles, content, and CSS selectors targeting page elements, and can trigger tours programmatically using the useNextStep hook (startNextStep, closeNextStep, setCurrentStep). It supports cross page tours through built in navigation adapters for Next.js, React Router, and Remix, interactive steps triggered by form or element interactions, fully customizable card components for styling, and event callbacks for tracking when steps are started, completed, skipped, or finished. The library is described as having zero dependencies beyond Motion, which powers its animations, keeping bundle size minimal.

NextStepjs