Getting Started with KendoReact Form

KendoReact Form is a small and fast package for form state management with zero dependencies.

The minified and gzipped bundle of the Form is 5KB. The component integrates with all KendoReact components and, currently, is used by the built-in editor of the KendoReact Scheduler. For getting its field state, rendering custom components, and handling component events, the Form component uses the following components:

For creating form layouts the Form package provides the following components:

The Form Package is part of KendoReact, a professionally built commercial UI library. To try out this Form you need to sign up for a 30-day trial, which gives you access to the full KendoReact library.


Basic Usage

The following example demonstrates the Form and Field components 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-form @progress/kendo-licensing
  2. Once installed, import the package module.

     // ES2015 module syntax
     import { Form, Field } from '@progress/kendo-react-form';
    // CommonJS format
    const { Form, Field } = require('@progress/kendo-react-form');
  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 Form package requires the following peer dependencies that have to be installed by your application:

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

In this article

Not finding the help you need?