Skip to content

LucasBassetti/react-simple-chatbot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

React Simple Chatbot

Travis CI npm version Codecov

A simple chatbot component to create conversation chats

Getting Start

npm install react-simple-chatbot --save

Usage

There are several examples on the website. Here is the first one to get you started:

import ChatBot from 'react-simple-chatbot';

const steps = [
  {
    id: '0',
    message: 'Welcome to react chatbot!',
    trigger: '1',
  },
  {
    id: '1',
    message: 'Bye!',
    end: true,
  },
];

ReactDOM.render(
  <div>
    <ChatBot steps={steps} />
  </div>,
  document.getElementById('root')
);

React Simple Chatbot on media

  1. webdesignerdepot
  2. blogduwebdesign
  3. codrops

Build with react-simple-chatbot

  1. Seth Loh Website - Personal website of Seth Loh (demo)
  2. Paul's Website - Personal website of Paul Jiang (demo)
  3. Cisco Partner Support API Chatbot - Code with screenshots to have your own Cisco Serial lookup chatbot.
  4. Chatcompose - Chatbot Platform for Conversational Marketing and Support.
  5. Mixat - News Chatbot for tweenies. Also as app (iOS or Android)

Built something with react-simple-chatbot? Submit a PR and add it to this list!

How to Contribute

Please check the contributing guide

Authors

Lucas Bassetti
Lucas Bassetti

See also the list of contributors who participated in this project.

License

MIT · Lucas Bassetti