Voltar ao ranking

chatscope/chat-ui-kit-react

JavaScriptchatscope.io

Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.

chatcomponentsuiuserinterfaceui-kitcommunicationconversationtoolkitlibraryfrontendreusable
Crescimento de estrelas
Estrelas
1.8k
Forks
153
Crescimento semanal
Issues
57
5001k1.5k
set. de 2020ago. de 2022ago. de 2024jul. de 2026
Artefatosnpmnpm install chat-ui-kit-react
README

Chat UI Kit React

Actions Status npm version code style: prettier semantic-release Storybook

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

Demos index: https://chatscope.io/demo.

Install

Component library

Using yarn:

yarn add @chatscope/chat-ui-kit-react

Using npm:

npm install @chatscope/chat-ui-kit-react

Styles

Using yarn:

yarn add @chatscope/chat-ui-kit-styles

Using npm:

npm install @chatscope/chat-ui-kit-styles

Usage

ESM

import styles from "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css";
import {
  MainContainer,
  ChatContainer,
  MessageList,
  Message,
  MessageInput,
} from "@chatscope/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.

See also

@chatscope/use-chat is a React hook for state management in chat applications.
Check it out and see how easy you can do the chat logic yourself.

Show your support

If you've made an awesome chat UI and you love this library, please ⭐ this repository!

Community and support

Website

https://chatscope.io

License

MIT

Repositórios relacionados
lobehub/lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / DeepSeek / Qwen), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Plugins/Artifacts) and Thinking. One-click FREE deployment of your private ChatGPT/ Claude / DeepSeek application.

TypeScriptnpmOtherchatgptnextjs
chat-preview.lobehub.com
57.4k12.2k
RocketChat/Rocket.Chat

The Secure CommsOS™ for mission-critical operations

TypeScriptnpmOtherchatmeteor
rocket.chat
45.8k13.7k
2noise/ChatTTS

A generative speech model for daily dialogue.

PythonPyPIGNU Affero General Public License v3.0agenttext-to-speech
2noise.com
39.7k4.2k
khoj-ai/khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

PythonPyPIGNU Affero General Public License v3.0semantic-searchemacs
khoj.dev
35.9k2.3k
SillyTavern/SillyTavern

LLM Frontend for Power Users.

JavaScriptnpmGNU Affero General Public License v3.0aichat
sillytavern.app
31k5.8k
iOfficeAI/AionUi

Free, local, open-source 24/7 Cowork app for OpenClaw, Hermes Agent, Claude Code, Codex, OpenCode, Gemini CLI and 20+ more CLI | Customize your assistants | Star if you like it!

TypeScriptnpmApache License 2.0aiai-agent
aionui.com
30.6k3.1k
zulip/zulip

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

PythonPyPIApache License 2.0zulippython
zulip.com
25.5k10k
LiLittleCat/awesome-free-chatgpt

🆓免费的 ChatGPT 镜像网站列表,持续更新。List of free ChatGPT mirror sites, continuously updated.

PythonPyPIMIT Licenseawesome-listchatgpt
21.2k1.4k
simplex-chat/simplex-chat

SimpleX - the first messaging network operating without user identifiers of any kind - 100% private by design! iOS, Android and desktop apps 📱!

HaskellGNU Affero General Public License v3.0chatprotocol
simplex.chat
18.9k1.2k
xx025/carrot

AI 工具导航大全,帮你快速筛选免费、实用、高效的网站资源

chatgptai
17.1k1.5k
hubotio/hubot

A customizable life embetterment robot.

JavaScriptnpmMIT Licensehubotchat
hubotio.github.io/hubot/
16.8k3.7k
openimsdk/open-im-server

IM Chat OpenClaw

GoGo ModulesApache License 2.0imchat
openim.io
16.5k2.9k