driver.js

Lightweight JavaScript library for product tours, highlights, and contextual help for your product.

Get Started
Supports all Major BrowsersWorks on Mobile DevicesHighly CustomizableLight-weightNo dependenciesFeature RichMIT LicensedWritten in TypeScriptVanilla JavaScriptEasy to useAccessibleFrameworks Ready
Red HatRed Hat
AlibabaAlibaba
MITMIT
EthereumEthereum
GitKrakenGitKraken
ApacheApache
IntelIntel
FiverrFiverr

4M+ monthly downloads, used by tens of thousands of projects.

Examples

Click an example below to see driver.js in action, or find more in the documentation.

and much more ...

Use Cases

Due to its extensive API, driver.js can be used for a wide range of use cases.

Onboard Users

Explain how to use your product and answer common questions.

Interactive Tutorials

Walk users through tasks step by step, letting them act as they learn.

Feature Adoption

Spotlight new features so your users don't miss them.

Contextual Help

Provide in-context guidance right where your users need it.

Form Guidance

Guide users field by field and point straight to inputs that need fixing.

Remove Distractions

Highlight what matters and focus your users' attention.

Your first tour in seconds 🦊

Import driver.js, describe your steps, and call drive(). That's the whole setup.

import { driver } from "driver.js";
import "driver.js/dist/driver.css";

const driverObj = driver({
  showProgress: true,
  steps: [
    {
      element: "#search",
      popover: { title: "Search", description: "Find anything in seconds." },
    },
    {
      element: "#notifications",
      popover: { title: "Stay updated", description: "All your alerts live here." },
    },
    {
      element: "#profile",
      popover: { title: "Your account", description: "Manage settings and billing." },
    },
  ],
});

driverObj.drive();
4.3M
downloads / month
25.8K+
github stars
286M
cdn hits / month

Works with any framework or library, or even with vanilla JavaScript.

ReactReactVueVueAngularAngularSvelteSvelteSolidSolidNext.jsNext.jsVanilla JSVanilla JSReactReactVueVueAngularAngularSvelteSvelteSolidSolidNext.jsNext.jsVanilla JSVanilla JSReactReactVueVueAngularAngularSvelteSvelteSolidSolidNext.jsNext.jsVanilla JSVanilla JS
MIT Licensed

Free for everyone, forever

driver.js is open source under the MIT license. Use it in your side projects, your startup, or your client work.

  • Personal projects
  • Commercial products
  • Unlimited projects
  • No attribution required
driver.js mascot riding a rocket

Ship your first tour today

A few lines of code and ~5kb is all it takes. No dependencies, no build step, just driver.js.

MIT Licensed © 2026