The example collection / 01—06
Small patterns.
Clear next steps.
Six ways to put TourKit to work. Run a tour, try an interaction, then take the code into your own product.
First product tour
Build an accessible, three-step tour of a dashboard with a spotlight, progress and keyboard navigation.
Interactive form
Advance a walkthrough when a field changes, validate a form and complete the next step after a successful action.
Contextual hints
Add unobtrusive hint markers to useful features, open their popovers and remember which tips a visitor has dismissed.
Dynamic content
Keep a product tour moving while an interface loads data, then anchor the next step as soon as its target appears.
Custom themes
Switch between light and dark tour themes and use a CSS custom property to match your own brand color.
Resume onboarding
Remember the current step across a reload, resume an unfinished tour and stop showing it after completion.
Built to help you get started
Each example demonstrates one practical task with the published sitetourkit 0.7.1 package. Try the interface, inspect the source, then adapt it to your product.
Start with First product tour if you are new to the library. Move on to Interactive form for action-driven steps, or Contextual hints for tips that users can discover at their own pace.
The JavaScript and TypeScript tabs include the application logic. The HTML tab is a complete browser example with its markup, styling and versioned CDN imports. Download it to try the same example in a separate page.
Looking for more controls? Visit the full playground or read the project documentation.