Label Overview
The Label component enables you to provide a label functionality to React components. It supports labelling both form elements (e.g.: input element) and custom focusable elements. It can contain Kendo React Input components such as KendoReact DropDownList and NumericTextBox, or HTML elements like input.
The following example shows how to set up the Label component:
- Add the Label component and the desired editor next to it.
- Set the
editorIdproperty of the Label and theidproperty of the editor.
Change Theme
Theme
Loading ...
The Label is part of the KendoReact Labels component library. All KendoReact Labels are freely available for use without a commercial license. The procedures for installing, importing, and using the Labels are identical for all components in the package. To learn how to use the Label and the rest of the Labels, see the Getting Started with the KendoReact Labels guide.
Key Features
- Editors with Invalid State—You can set the Label in invalid state.
- Optional—You can make the Label as option.
- Without Form Element—You can associate the Label with DOM elements that are
notform elements.