Giter VIP home page Giter VIP logo

chat-ui-kit-react's Introduction

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

chat-ui-kit-react's People

Contributors

supersnager avatar kdederichs avatar ritchiels avatar hwangtaehyun avatar vincentroest avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.