Unofficial
Internal
Components
Form group
Internal
A group of form fields.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| id | string | - | 'id' attribute to place on the base HTML element |
| classBlock | string | - | Block name override in BEM style classes applied to all elements |
| classModifiers | Modifiers | [] | BEM style modifiers to apply to the base HTML element |
| className | string | - | Extra classes to apply to the base HTML element |
| error | ReactNode | - | |
| errorId | string | - | |
| fieldId | string | - | |
| hint | ReactNode | - | |
| hintId | string | - | |
| label | ReactNode | - | REQUIRED. |
| standalone | boolean | - |
Stories
Standard
A standard Form group.
Label
A Form group with just a label instead of a fieldset and legend.
Error
A Form group with a validation error.