Packages

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.

PackageDoesUnpackedRuntime deps
@tourkit/coreThe engine. No React, no DOM, no React Native.113 kB0
@tourkit/reactDOM renderer, plus an /unstyled entry.441 kB@floating-ui/dom
@tourkit/nativeReact Native renderer, built on Reanimated and SVG.235 kB@tourkit/core
@tourkit/aiA user question becomes a tour. Optional, and there is no tourkit service.80 kBzod
@tourkit/clitourkit init to scaffold, tourkit record to capture a tour by clicking.9 kB0
@tourkit/core

TourEngine, createNavAdapter, defaultTheme, mergeTheme, readRecord, clearRecord

View @tourkit/core on npm

npm i @tourkit/core
@tourkit/react

TourProvider, TourHost, TourHint, TourRecorder, useTour, useTourState, useTourTarget

View @tourkit/react on npm

npm i @tourkit/react
@tourkit/native

TourProvider, TourTarget, Spotlight, TouchShield, createBlurBackdrop, useTour

View @tourkit/native on npm

npm i @tourkit/native react-native-svg react-native-reanimated
@tourkit/ai

useTourkitAsk, askTourkit, createTourkitHandler, anthropicGenerator

View @tourkit/ai on npm

npm i @tourkit/ai
@tourkit/cli

tourkit init, tourkit record

View @tourkit/cli on npm

npx tourkit record src/tour