Overview
Grid layout with a fixed number of columns. Use with KFixedGridItem
.
For a responsive grid with a variable number of columns based on screen size, see KGrid
and KGridItem
.
Props
Name | Description | Type | Default | Required |
---|---|---|---|---|
numCols | The number of columns. Can be an integer between 2 and 12 | number|string | — | true |
gutter | The size of column gutters in pixels. If not provided, the gutter is set to 16px
if either window dimension is less than 600px , and set to 24px otherwise. | number|string |
null
| — |
debug | Show gridlines for debugging purposes | boolean |
false
| — |
Slots
Name | Description |
---|---|
default | Children of a KFixedGrid must be KFixedGridItem components |