Driver.js
UI library · Free
An element highlighting and guided tour library: it adds interface training and contextual onboarding to an application you are building.
Also known as: kamranahmedse/driver.js; driverjs; driver.js-library; nilbuild/driver.js
What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Add a contextual interface tour
- Connect highlighting/navigation to user scenario states
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add a contextual interface tour.
Before you start
- The component's design, states, and data.
- A compatible framework and the project's styles.
Steps
- Define tour steps and target page elements.
- Connect highlighting/navigation to user scenario states.
- Configure styles and check empty, loading, and error states.
Check your result
- The keyboard, focus indicators, and a screen reader let users complete the action.
- The component works on a narrow screen and with long data values.
Choosing Driver.js
Add a contextual interface tour
Choose this when
- Add a contextual interface tour
- Connect highlighting/navigation to user scenario states
Requirements
- Load driver.js/dist/driver.css for the main interface; hints use a separate hints.css.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
Frequently asked questions
What can you use for free in Driver.js?
Code and local use under MIT.
What additional costs might arise with Driver.js?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Driver.js?
MIT for the code; dependencies have separate licenses.
How do you get started with Driver.js?
Define tour steps and target page elements. Connect highlighting/navigation to user scenario states. Configure styles and check empty, loading, and error states.
How can I connect Driver.js highlighting and hints?
Install the package with npm/pnpm/yarn or load JS and CSS through a CDN. driver.highlight takes an element and popover. Hints use a separate entry and stylesheet, loaded only when used.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Driver.js
- UI
- Development