density Gap and grouping as one decision. "stacked" fuses the fields into a single control; "tight" and "spacious" leave each its own border and radius. | stacked•tight•spacious | tight |
columns Grid columns — a number, or a per-breakpoint map like { xs: 1, m: 2 }. | number•Partial<Record<Breakpoint, number>> | — |
size Size for every field in the group. A field that sets its own size keeps it. | xl•l•m•s•xs | — |
as Render a real <form> rather than a <div>. | div•form | div |
onSubmit Submit handler. Only attached when as is "form". | React.FormEventHandler<HTMLFormElement> | — |
| string | — |
| React.CSSProperties | — |
children The fields. Conditional children that render nothing are ignored, and the corners follow. | React.ReactNode | — |
| …and every React.HTMLAttributes prop | inherited | — |