# FloatLabel An unstyled wrapper that visually integrates a label with its form element. ## Features - Wraps a form element and its `Label` to create a floating-label interaction - `variant` property positions the label: `over` (default), `in`, or `on` - Works with any compatible input component ## Usage ```tsx import { FloatLabel } from 'primereact/floatlabel'; import { InputText } from 'primereact/inputtext'; import { Label } from 'primereact/label'; ``` ```tsx ``` ## API ### FloatLabel | Attribute | Value | | ------------ | -------------- | | `data-scope` | `"floatlabel"` | | `data-part` | `"root"` | ## Accessibility ### Screen Reader FloatLabel does not require any roles and attributes. ### Keyboard Support Component does not include any interactive elements.