Primitives
Label
Radix-backed label. Click-to-focus its linked control. Optional required indicator.
Basic
Required
<Label htmlFor='email' required>Email</Label>
<Input id='email' type='email' /> Inline (with checkbox)
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| required | boolean | false | Appends a red asterisk after the children. |
| htmlFor | string | — | Standard Radix Label — matches a control id. |