Use the `required` attribute to mark the element as required. This can be used for form validation purposes.

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