@botui/react
Package
React components and hooks for building conversational interfaces with BotUI.
npm i @botui/react
The React package provides ready-to-use components, hooks, and styling for integrating BotUI into React applications.
Documentation
- API Reference - React components and hooks
- Custom Components - Build custom actions and messages
- Built-in Messages - Available message types
- Built-in Actions - Available action types
- Styling Guide - Theming and customization
- TypeScript Guide - React + TypeScript integration
Key Features
- React Components - Pre-built
BotUI
,BotUIMessageList
,BotUIAction
- React Hooks -
useBotUI
,useBotUIAction
,useBotUIMessage
- Custom Renderers - Extensible component system for custom UI
- Built-in Styling - Default SCSS theme with customization options
- TypeScript Support - Full type definitions for all components and hooks
- Animation Support - Smooth transitions with
react-transition-group