FormGroup
- Deprecated
 - Not reviewed for accessibility
 
Adds styles for multiple form elements used together.
Use FormControl instead.
| Name | Type | Default | Description | 
|---|---|---|---|
| as | String | div | Sets the HTML tag for the component | 
| sx | SystemStyleObject | {} | Style to be applied to the component | 
| Name | Type | Default | Description | 
|---|---|---|---|
| as | String | label | Sets the HTML tag for the component | 
| htmlFor | String | The value of htmlFor needs to be the same as the id of the input it labels | |
| sx | SystemStyleObject | {} | Style to be applied to the component |