| children | ReactNode | | true | The children nodes of the component. |
|---|
| className | string | | false | Allows for specific classNames to be set. |
|---|
| gap | oneOf: --s-6, --s-5, --s-4, --s-3, --s-2, --s-1, --s0, --s1, --s2, --s3, --s4, --s5, --s6, --s7, --s8, 0 | 0 | false | The props allows setting a spacing gap between the child containers on both rows and columns. |
|---|
| columnGap | oneOf: --s-6, --s-5, --s-4, --s-3, --s-2, --s-1, --s0, --s1, --s2, --s3, --s4, --s5, --s6, --s7, --s8 | | false | The props allows setting a spacing gap on the columns of the grid children. |
|---|
| rowGap | oneOf: --s-6, --s-5, --s-4, --s-3, --s-2, --s-1, --s0, --s1, --s2, --s3, --s4, --s5, --s6, --s7, --s8 | | false | The props allows setting a spacing gap on the rows of the grid children. |
|---|
| alignItems | oneOf: center, flex-start, flex-end, baseline, stretch | center | false | How to position the child elements vertically, default is center. |
|---|
| justifyContent | oneOf: flex-start, flex-end, center, space-between, space-around, space-evenly | flex-start | false | How to position the child elements horizontally, default is center. |
|---|
| autoType | oneOf: auto-fit, auto-fill | auto-fit | false | Whether to fit the available width or display to the defined width. |
|---|
| minWidth | string | 1fr | false | The props allows the minimum grid item width to be set. This value is intentionally open to allow for varying needs. |
|---|
| as | A valid HTML5 element | div | false | Allowing for polymorphic elements, only the following elements should be considered. A div element is the default.
- Allowed values:
- HTML5 Semantic elements
- List structures
- div
|
|---|