You shipped a new admin panel or SaaS dashboard, and users get lost in the buttons. Intro.js (v8.7.0) helps: ~10 KB with zero dependencies, local execution, 13 languages including Russian, themes, RTL support, and tour.onEvent() hooks for analytics.
<!-- Step order and tooltip copy right in the markup -->
<button data-step="1" data-intro="Создай первый проект">
Новый проект
</button>
<a href="/settings" data-step="2" data-intro="Здесь настройки">
Настройки
</a>
data-step sets the order and data-intro holds the tooltip text right in the DOM. Run npm install intro.js, import the stylesheet, and launch the tour with introJs.tour().start() (which replaced introJs().start() in v8):
import introJs from "intro.js";
import "intro.js/introjs.css";
// Start a step-by-step tour from data attributes
introJs.tour().start();
Once called, the library highlights each element in sequence and shows navigation controls. Without editing HTML, you can pass steps as an array in setOptions(), or add standalone beacons with introJs.hint().addHints().
The catch is legal: the code is licensed under AGPLv3. It's free for open-source and personal projects, whereas a closed commercial web product must either open its source code or buy a one-time license (starting at $9.99 per project). If you need a non-copyleft option, look at MIT-licensed Driver.js.
