chatkit-react
v0.0.1
Published
Chatkit for React
Downloads
14
Readme
ChatKit React
⚡ Project Status: This project is under active development. Stay tuned for regular updates. Some features may change or break in upcoming versions.
A modern React component library for building sophisticated AI chat interfaces. Provides themeable components with built-in support for file handling, model selection, and AI processing states.s

Requirements
- React 19 or higher
- Framework agnostic - can be used with any CSS framework through class injection
Key Features
- 🎨 Advanced Theming System - Multiple built-in themes with full customization
- 💬 Complete Chat Components - Messages, inputs, threads, and model selection
- 📁 File Handling - Drag & drop uploads with validation
- ⚡ Real-time Feedback - Processing indicators and states
- 🔄 Framework Agnostic - No CSS dependencies, works with any styling solution
Quick Start
npm install chatkit-reactBasic usage:
import { ThemeProvider, ChatContainer, ChatInput } from 'chatkit-react';
function App() {
const [messages, setMessages] = useState([]);
const handleSend = (message) => {
setMessages([...messages, {
id: Date.now(),
message,
isUser: true
}]);
};
return (
<ThemeProvider initialTheme="default">
<ChatContainer messages={messages} />
<ChatInput onSubmit={handleSend} />
</ThemeProvider>
);
}Documentation
Visit our Storybook for detailed documentation, component examples, and theme customization.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT © Tim Van Onckelen
