🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

mui-chat-box

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mui-chat-box

MUI Chat Box Component

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

mui-chat-box

React component for creating a simple chat box.

license npm latest package npm downloads

Demo mui-chat-box preview

Getting Started

Installing Package

mui-chat-box can be installed directly via npm by executing the following command:

npm install mui-chat-box

Usage

import { Avatar } from "@mui/material";
import { ChatBox, ReceiverMessage, SenderMessage } from "mui-chat-box";

export const App = () => (<ChatBox>
  <ReceiverMessage avatar={<Avatar>KS</Avatar>}>
    Hello how are you?
  </ReceiverMessage>
  <SenderMessage avatar={<Avatar>NA</Avatar>}>
    I'm good thanks you?
  </SenderMessage>
  <ReceiverMessage avatar={<Avatar>KS</Avatar>}>
    I'm good too!
  </ReceiverMessage>
</ChatBox>)

Samples

The react-example folder contains an example of how you could use the mui-chat-box.

Contributing

  • Issue
  • Fork
  • Hack!
  • Pull Request

Keywords

chat

FAQs

Package last updated on 27 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts