Five packages under one scope, all on one version and all MIT. Install the renderer you need. Core comes along and brings nothing with it. Sizes are the npm unpacked tarball, which includes type declarations, source maps and both ESM and CJS builds.
| Package | Does | Unpacked | Runtime deps |
|---|---|---|---|
@tourkit/core | The engine. No React, no DOM, no React Native. | 113 kB | 0 |
@tourkit/react | DOM renderer, plus an /unstyled entry. | 441 kB | @floating-ui/dom |
@tourkit/native | React Native renderer, built on Reanimated and SVG. | 235 kB | @tourkit/core |
@tourkit/ai | A user question becomes a tour. Optional, and there is no tourkit service. | 80 kB | zod |
@tourkit/cli | tourkit init to scaffold, tourkit record to capture a tour by clicking. | 9 kB | 0 |
TourEngine, createNavAdapter, defaultTheme, mergeTheme, readRecord, clearRecord
TourProvider, TourHost, TourHint, TourRecorder, useTour, useTourState, useTourTarget
TourProvider, TourTarget, Spotlight, TouchShield, createBlurBackdrop, useTour
useTourkitAsk, askTourkit, createTourkitHandler, anthropicGenerator