className? | string | Optional CSS class name for the grid container. |
cols? | number | Number of columns in the grid. Ignored if columnsTemplate is provided. Default 2 |
columnGap? | string | number | Gap between columns. Accepts a number (pixels) or CSS string (e.g., '1rem' , '10px' ). Default 20 |
columnsTemplate? | string | Custom grid-template-columns string. Overrides cols if provided. Example: '1fr 2fr' or 'repeat(3, auto)' . |
rowGap? | string | number | Gap between rows. Accepts a number (pixels) or CSS string. Default 10 |
style? | any | Additional inline styles to apply to the grid container. |