sjmc11/tourguide-js
About
TourGuide is a JavaScript library for creating user tours and onboarding steps for your apps.
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
TourGuide JS
Intuitive and customisable tours for user application onboarding
Explore the docs »
If this library saved you time or helped your project, consider buying me a coffee — it fuels more features, faster fixes, and better support! ☕✨
QuickStart
Installation
npm i @sjmc11/tourguidejs
Usage
Include the tourGuide script and style in your project. A CDN method is supported.
// Style
import "@sjmc11/tourguidejs/src/scss/tour.scss"
// JS
import {TourGuideClient} from "@sjmc11/tourguidejs/src/Tour"
Declare steps
Add the [data-tg-tour] attribute to elements that you want to include in your tour. This attribute should contain the relevant text for the tour guide step.
<div data-tg-tour="Welcome aboard 👋> ... </div>
Create a tour
const tg = new TourGuideClient({} : TourGuideOptions)
Start the tour
tg.start()
TourGuide JS uses Floating-Ui for intelligent dialog positioning
See Floating UI for more information.
Explore related projects
Loading…
