Tour Kit

Tour Kit is a headless React library for building product tours, onboarding flows, hints, checklists, in-app announcements, and microsurveys. It ships as 17 composable packages, is TypeScript-first, WCAG 2.1 AA compliant, and designed natively for shadcn/ui — but works with any component library.
Alternative to: Shepherd.js, Driver.js, Intro.js, Reactour, React Joyride, Appcues, Userpilot, Pendo — when you want a code-owned, headless, source-available primitive instead of a hosted SaaS.
Table of contents
Why Tour Kit
| Need | What Tour Kit gives you |
|---|
| Product tours | Declarative <Tour> + <TourStep> components, focus trap, keyboard nav, route awareness |
| Persistent hints | Beacon hotspots and tooltips that survive across sessions — unique in the shadcn ecosystem |
| Onboarding checklists | Task dependencies, progress tracking, persistence, and tour hand-off in one provider |
| Announcements | 5 variants (modal, slideout, banner, toast, spotlight) with frequency rules and audience targeting |
| Microsurveys | NPS, CSAT, CES with built-in fatigue prevention and context awareness |
| Feature adoption | Track usage, compute adoption status, and trigger nudges automatically |
| Analytics | Plugin interface for PostHog, Mixpanel, Amplitude, GA4 — or roll your own |
| AI Q&A widget | Drop-in RAG chat for in-app help |
Design principles:
- Headless first — all logic lives in
@tour-kit/core; UI packages are thin, swappable wrappers.
- Composition over configuration — small focused components compose into rich flows.
- Type-safe — strict TypeScript, full inference, no
any in public API.
- Accessible by default — focus trap, ARIA live regions, keyboard nav,
prefers-reduced-motion.
- Tree-shakeable — every package is
sideEffects: false and ships ESM + CJS + .d.ts.
Packages
Tour Kit is a monorepo of 17 packages. Five are source-available under BUSL-1.1, three are MIT-licensed utilities, and nine are commercial (see Licensing).
Source-available packages (BUSL-1.1: free in development, licence key in production)
| Package | Purpose | Bundle (gzip) |
|---|
@tour-kit/core | Framework-agnostic hooks, types, position engine, storage adapters | < 8 KB |
@tour-kit/react | Tour, TourStep, TourCard, TourOverlay, router adapters, multi-tour registry | < 12 KB |
@tour-kit/hints | Persistent hint beacons, hotspots, tooltips | < 5 KB |
@tour-kit/vue | Headless Vue 3 binding for the Tour Kit engine | — |
@tour-kit/svelte | Headless Svelte 5 binding for the Tour Kit engine | — |
MIT-licensed utilities (free, no key)
Commercial packages