Label
Visible form label with required-state treatment.
Pair Label with a form control when the field needs a persistent visible name.
Interactive example
Loading interactive example
API
| Member | Type | Kind | Required | Default |
|---|---|---|---|---|
children | Snippet | snippet | Yes | |
for | string | prop | No | undefined |
required | boolean | prop | No | false |
size | ControlSize | prop | No | 'md' |
Source
Loading source