Getting Started
Installation
Install @tour-kit/core and @tour-kit/react with npm, pnpm, yarn, or bun and configure peer dependencies for React 18+
Installation
Quick Install
pnpm add @tour-kit/reactnpm install @tour-kit/reactyarn add @tour-kit/reactbun add @tour-kit/reactPackage Options
| Package | Use Case |
|---|---|
@tour-kit/react | Pre-styled components (recommended) |
@tour-kit/core | Headless hooks only |
@tour-kit/hints | Persistent hints system |
Peer Dependencies
TourKit requires React 18 or 19:
{
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
}
}If using Tailwind CSS, TourKit components are pre-styled and ready to use.