Tour Kit — @tour-kit/announcements Context File
Version: 0.1.0 | Generated: 2026-03-31
Paste this into your LLM to get accurate answers about @tour-kit/announcements.
=========================================================================
OVERVIEW
--------
Product announcements for TourKit - Modal, Slideout, Banner, Toast, and Spotlight variants
INSTALLATION
------------
npm install @tour-kit/announcements
# or
pnpm add @tour-kit/announcements
Peer dependencies:
@tour-kit/license: >=0.1.0
react: ^18.0.0 || ^19.0.0
react-dom: ^18.0.0 || ^19.0.0
tailwindcss: ^3.4.0 || ^4.0.0
@mui/base: ^5.0.0-beta.0
@tour-kit/scheduling: workspace:*
EXPORTS
-------
Hooks:
useUILibrary
Components:
UILibraryProvider
UILibrary
Utilities:
cn
TYPES
-----
export interface UILibraryProviderProps {
library?: UILibrary
children: React.ReactNode
}
export type UILibrary = 'radix-ui' | 'base-ui'
HOOKS
-----
useUILibrary(): UILibrary
COMPONENTS
----------
EXAMPLES
--------
Example 1: Quick Start
import { AnnouncementsProvider, AnnouncementModal } from '@tour-kit/announcements';
function App() {
return (
console.log('Action clicked'),
},
},
]}
>
);
}
Example 2: Modal
Example 3: Slideout