Grid
A default grid component.
This component is used to render a grid of children components.
Properties
Property | Type | Default | Description |
---|---|---|---|
columns | number | 3 | The number of columns in the grid. |
gap_size | number | 0 | The gap size between the columns. |
gap_size_unit | string | px | The unit of the gap size. px , rem , em , % , vw , vh , vmin , vmax . |
padding.left | number | 0 | The left padding of the container. |
padding.right | number | 0 | The right padding of the container. |
padding.top | number | 0 | The top padding of the container. |
padding.bottom | number | 0 | The bottom padding of the container. |
margin.left | number | 0 | The left margin of the container. |
margin.right | number | 0 | The right margin of the container. |
margin.top | number | 0 | The top margin of the container. |
margin.bottom | number | 0 | The bottom margin of the container. |