Components/Label
Label
Accessible label associated with form controls.
Installation
npx ajaxui add labelProps
| Prop | Type | Default | Description |
|---|---|---|---|
| required | boolean | false | Renders an asterisk to mark the field as required. |
| htmlFor | string | — | ID of the form control the label belongs to. |