FloatLabel appears on top of the input field when focused.
import FloatLabel from 'primevue/floatlabel';
FloatLabel is used by wrapping the input and its label.
<FloatLabel>
<InputText id="username" v-model="value" />
<label for="username">Username</label>
</FloatLabel>
FloatLabel does not require any roles and attributes.
Component does not include any interactive elements.