• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

Floating Labels

Floating labels are part of the Material Design Guidelines and are fully supported by the KendoReact Inputs components.

Basic Usage

To enable the floating label functionality, wrap the any Input component in a Floating Label container and sync the editor's value with the editorValue property of the label.

The following example demonstrates how to implement floating labels in the TextBox, NumericTextBox, and TextArea components and style them with the KendoReact Material theme.

Please note that the floating label that wraps the TextArea component should have k-textarea-container class in order to be styled as expected.

Example
View Source
Change Theme:

In this article

Not finding the help you need?