Use the `floating-label` attribute to enable a floating label on the datepicker.
**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="flex gap-12 h-[500px] max-w-[370px]">
  <sd-datepicker label="Floating Label" floating-label></sd-datepicker>
</div>
```
