@mohamedelghandour/stepflow
v1.0.2
Published
A lightweight onboarding and user tour library for modern web apps
Maintainers
Readme
A lightweight onboarding and user tour library for modern web apps — build guided tours with highlights, tooltips, overlays, and step navigation.

Live demo: https://mohamedelghandour.github.io/Stepflow/public/
Installation
npm i @mohamedelghandour/stepflow
# or pnpm add @mohamedelghandour/stepflow
# or yarn add @mohamedelghandour/stepflowQuick Start
import { start } from "@mohamedelghandour/stepflow";
await start({
steps: [
{
target: "#stepflow-target-1",
content: {
header: "First step",
body: "Explain the first UI element.",
},
},
],
});Documentation
📚 Full Documentation: ./doc/README.md
Quick links:
- Getting Started: ./doc/getting-started/quick-start.md
- Configuration / Options: ./doc/guides/configuration.md
- API Reference: ./doc/api/index.md
- Examples: ./doc/examples/hello-world.md
- Styling and Theming: ./doc/guides/styling-and-theming.md
Features
- Step-based tours anchored to DOM targets.
- Tooltip and highlight UI that track the current target.
- Optional overlay with click-to-cancel behavior.
- Built-in navigation buttons with per-step and global callbacks.
- Keyboard controls (ArrowLeft/ArrowRight/Escape) when enabled.
- Progress indicator styles (dots, counter, of, percentage, custom).
- Configurable styling via CSS classes and variables.
Browser Support / Requirements
- Requires a real browser DOM (uses layout APIs like
getBoundingClientRectandscrollBy). - Include the Stepflow stylesheet from the published package (see docs).
Contributing
See ./doc/developers/contributing.md.
License
MIT License. See ./licence.
