Installation
Examples
Label states
Required asterisk, optional badge, and disabled style.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| required | boolean | false | Shows a required asterisk. |
| optional | boolean | false | Shows an optional badge. |
| disabled | boolean | false | Reduces opacity. |
| htmlFor | string | — | Links the label to an input by ID. |