Driver.js
Driver.js Driver.js

Lightweight JavaScript library for product tours, highlights, and contextual help to guide users through your product.

driver.js is a lightweight, open-source JavaScript library designed to create engaging product tours, element highlights, and contextual help to guide users through web applications.

The principal functionalities of this tool include:

1. Versatile User Guidance

  • Onboarding Tours: It helps onboard new users by providing step-by-step explanations of how to use a product.

  • Feature Adoption: The tool can be used to highlight new features, ensuring users don't miss updates and understand their utility.

  • Contextual Help: It allows for the placement of help triggers directly within the interface to answer common questions in real-time.

2. Focus and Interaction Tools

  • Highlighting and Overlays: It features a "highlight" capability that dims the rest of the screen to remove distractions and focus user attention on specific elements.

  • Interactive Popovers: Elements can be highlighted with accompanying popovers that feature customizable positioning and content.

  • Progress Tracking: Tours can include progress indicators to let users know how many steps are remaining.

3. Extensive Customization and Control

  • Animation Options: Supports both animated and non-animated tours, as well as asynchronous steps for more complex workflows.

  • Comprehensive Hooks: The library provides "hooks for everything," giving developers fine-grained control over the tour's behavior.

  • User Flow Management: Includes features such as "Confirm on Exit" to prevent accidental tour closure and options to prevent the user from closing the overlay.

4. Modern Technical Architecture

  • Lightweight and Fast: The library is highly optimized, written in TypeScript, and has no external dependencies, ensuring it doesn't bloat the application.

  • Broad Compatibility: It supports all major browsers and is fully responsive for use on mobile devices.

  • Framework Ready: While it is vanilla JavaScript-based, it is designed to be compatible with all major modern web frameworks.

5. Accessibility and Community Trust

  • Inclusive Design: The library is built with accessibility in mind to ensure guided tours work for all users.

  • Proven Reliability: With over 25,000 GitHub stars and millions of downloads, it is trusted by thousands of companies worldwide.

  • Open Access: It is released under the MIT License, allowing for free use in both personal and commercial projects.