Getting Started with KendoReact Conversational UI

The KendoReact Conversational UI bridges the gap between the Web and the next-generation natural language applications and delivers the Chat component which allows the user to participate in chat sessions with other users or with chat bots.

The KendoReact Chat component is part of the KendoReact library of React UI components. It is distributed through NPM under the kendo-react-conversational-ui package.

The Conversational UI Package is part of KendoReact, a professional UI components library designed and built from the ground up for React to make developers more productive. To try it out, sign up for a free 30-day trial.

Basic Usage

The following example demonstrates the Chat Component in action.

Example
View Source
Edit In Stackblitz  
Change Theme:

Functionality and Features

Installation

  1. Download and install the package. Use Node.js v5.0.0 or later.

       npm install --save @progress/kendo-react-conversational-ui @progress/kendo-react-buttons @progress/kendo-react-intl @progress/kendo-licensing
  2. Once installed, import the package module.

    // ES2015 module syntax
    import { Chat } from '@progress/kendo-react-conversational-ui';
    // CommonJS format
    const { Chat } = require('@progress/kendo-react-conversational-ui');
  3. You are required to install one of the KendoReact themes to style your components. For more information on how to add the styles, refer to the article on getting started.

  4. Follow the instructions on the KendoReact My License page to activate your license. You can skip this step if your application already contains a KendoReact license file.

Dependencies

The Conversational UI package requires you to install the following peer dependencies in your application:

  • react 16.8.2*
  • react-dom
  • @progress/kendo-licensing
  • @progress/kendo-react-buttons
  • @progress/kendo-react-intl