<div class="space-y-2">
<ui-label for="email-input">Email</ui-label>
<ui-input id="email-input" type="email" placeholder="you@example.com"></ui-input>
</div>
<ui-label>
<ui-label>| Prop | Type | Default | Description |
|---|---|---|---|
for | string | — | The id of the associated form element. |
All components also accept standard HTML attributes (class, id, style, data-*, aria-*, etc.) which are passed through to the underlying element.