my-chat-assist
v1.0.7
Published
A customizable and lightweight React-based chat assistant widget. Easily plug it into any React project and configure it with themes, avatars, markdown support, and more.
Readme
💬 Chat Assistant Widget
A customizable and lightweight React-based chat assistant widget. Easily plug it into any React project and configure it with themes, avatars, markdown support, and more.
✨ Features
- 🧩 Easy to integrate into any React project
- 🎨 Light & Dark themes
- 🧑🤖 Custom user/bot avatars
- ⏳ Message history persistence (localStorage)
- 📜 Markdown support
- 🎛️ Optional UI configurator panel (for runtime customization)
- 💡 Fully TypeScript supported
📦 Installation
npm i my-chat-assist
---
## Uses for this widget
``` bash
import "./App.css";
import "my-chat-assist/dist/style.css";
import ChatWidget from "my-chat-assist";
function App() {
const sendMessage = async (msg) => {
return "Echo: " + msg;
};
return (
<>
<ChatWidget sendMessage={sendMessage} />
<div>Hello World!</div>
</>
);
}
export default App;