1.0.9 • Published 5 months ago
@pradeepgudipati/kovaad-chat-ui-kit v1.0.9
Chat UI Kit React
Build your own chat UI with React components in a few minutes.
The Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
Tired of struggling with sticky scrollbars, contenteditable, responsiveness, css hacks?
This kit is for you! See all features.
Chat UI Kit brings you chat UI development at warp speed 🚀
Demo
- Full-featured chat application: https://demo.chatscope.io
- Zoe, Akane, Eliot and Joe: https://chatscope.io/demo/chat-friends
- Chat with the Martian (he is available sometimes): https://mars.chatscope.io
Demos index: https://chatscope.io/demo.
Install
Component library
Using yarn:
yarn add @pradeepgudipati/chat-ui-kitUsing npm:
npm install @pradeepgudipati/chat-ui-kitStyles
Using yarn:
yarn add @pradeepgudipati/chat-ui-kit-stylesUsing npm:
npm install @pradeepgudipati/chat-ui-kit-stylesUsage
ESM
import styles from "@pradeepgudipati/chat-ui-kit-styles/dist/default/styles.min.css";
import {
MainContainer,
ChatContainer,
MessageList,
Message,
MessageInput,
} from "@pradeepgudipati/chat-ui-kit-react";
<div style={{ position: "relative", height: "500px" }}>
<MainContainer>
<ChatContainer>
<MessageList>
<Message
model={{
message: "Hello my friend",
sentTime: "just now",
sender: "Joe",
}}
/>
</MessageList>
<MessageInput placeholder="Type message here" />
</ChatContainer>
</MainContainer>
</div>;Yeah! Your first chat GUI is ready!
UMD
UMD usage is documented in our Storybook.
Documentation
Check our friendly Storybook.
Typescript
The library is written in Javascript, but Typescript typings are available in the package since version 1.9.3.
New Release
- Update the code as required
- Once tested , update the package.json version
"version": "1.0.X", // Replace X with the new version- Commit the changes and raise the PR to the main branch
- Once PR is approved and merged, GitHub actions will automatically publish the package to npm registry