react-best-chatbot

2.0.1 • Public • Published

React Best Chatbot 🚀

Build and customize a chatbot for exactly what you need 🔥

Usage

Simple and easy to get started, free of dependencies.

import React from 'react';
import Chatbot from 'react-best-chatbot';
  
const steps = [
  {
    id: 1,
    content: "Hello, human!",
    goTo: 2
  }, 
  {
    id: 2,
    content: "See ya...",
    end: true
  }
];

const App = () => (
  <Chatbot steps={steps} />
);

export default App;

Examples and properties

Click here to access the documentation.

Info

Every user response is also accompanied by the time it took the user to interact in the chat, in milliseconds.

answers = {
  values: {
    'first_step: 'Bye'
  },
  timeInMs: {
    'first_step': 2000
  } 
};

Donate

If you liked, you can donate to support it :)

paypal

Dependencies (0)

    Dev Dependencies (17)

    Package Sidebar

    Install

    npm i react-best-chatbot

    Weekly Downloads

    55

    Version

    2.0.1

    License

    none

    Unpacked Size

    181 kB

    Total Files

    49

    Last publish

    Collaborators

    • lucasfernando06