Use the `floating-label` attribute to enable a floating label on the input.
**Note:** Floating labels only work with the `label` attribute. The `label` slot is not supported. Only the `lg` and `md` sizes are available.

```html
<div class="max-w-[400px]">
  <sd-input label="Floating Label" floating-label></sd-input>
</div>
```
