KendoReact Inputs Overview
The KendoReact Inputs are fields which allow for an input of data, based on a specific and predefined format.
The Inputs components are part of the KendoReact library which provides native KendoReact components for the React ecosystem and are available under the kendo-react-inputs NPM package.
Basic Usage
The following example demonstrates all of the components included in Inputs package in action.
Installation
Download and install the package:
npm install --save @progress/kendo-react-inputs @progress/kendo-react-intl @progress/kendo-drawing @progress/kendo-licensing
Once installed, import the package module.
// ES2015 module syntax import { NumericTextBox, MaskedTextBox, Input, Switch, Slider, RangeSlider, Rating, ColorGradient, ColorPalette, ColorPicker, Checkbox, RadioButton, RadioGroup, TextArea } from '@progress/kendo-react-inputs';
// CommonJS format const { NumericTextBox, MaskedTextBox, Input, Switch, Slider, RangeSlider, Rating, ColorGradient, ColorPalette, ColorPicker, Checkbox, RadioButton, RadioGroup, TextArea } = require('@progress/kendo-react-inputs');
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.
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 Inputs package requires the following peer dependencies that have to be installed by your application:
- react 16.8.2*
- react-dom
- @progress/kendo-drawing
- @progress/kendo-licensing
- @progress/kendo-react-intl
Suggested Links
- Get Started with the Checkbox
- Get Started with the ColorPicker
- Get Started with the ColorGradient
- Get Started with the ColorPalette
- Get Started with the Input
- Get Started with the MaskedTextBox
- Get Started with the NumericTextBox
- Get Started with the RadioButton
- Get Started with the RadioGroup
- Get Started with the Slider
- Get Started with the RangeSlider
- Get Started with the Rating
- Get Started with the Switch
- Get Started with the TextArea
- API Reference of the Inputs