# ml-react-chatbot

> React Chatbot

Latest version **0.4.8** (published 2018-12-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install ml-react-chatbot
pnpm add ml-react-chatbot
yarn add ml-react-chatbot
bun add ml-react-chatbot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.8 |
| Published | 2018-12-30 |
| First published | 2018-12-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 61.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mobylogix |
| Keywords | react, chat, chatbot, conversational-ui |

## Links

- npm: https://www.npmjs.com/package/ml-react-chatbot
- npm.io page: https://npm.io/package/ml-react-chatbot

## Dependencies (5)

- [react](https://npm.io/package/react.md) ^16.4.1
- [random-id](https://npm.io/package/random-id.md) 0.0.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.4.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0
- [circular-json](https://npm.io/package/circular-json.md) ^0.3.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.4.8 (latest) — 2018-12-30
- 0.4.7 — 2018-12-30
- 0.4.6 — 2018-12-30
- 0.4.5 — 2018-12-27
- 0.4.4 — 2018-12-27

## README

# React Chatbot

A chatbot component to create conversation chats

<img src="https://cloud.githubusercontent.com/assets/1014326/25716667/2d4bb4c4-30d6-11e7-996e-30c8fb316361.gif" height="400" />

## Getting Start

```bash
npm install ml-react-chatbot --save
```

## Usage

``` javascript
import ChatBot from 'ml-react-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')
);
```

---
_Source: https://npm.io/package/ml-react-chatbot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
