Skip to content

Properties

PropertyTypeDescription
columnsnumber
object
(optional) Define how many columns your layout should be divided in. Can be just a number columns={12} or an object with media query sizes like columns={{ small: 4, medium: 6, large: 12 }} (default values). You can also disabled CSS Grid by providing false for one size, like so columns={{ small: 4, medium: false, large: 12 }}.
rowGapstring
false
(optional) Defines how much the gap between rows should be. Can be large, medium, small, x-small or false for no gap. Defaults to false.
columnsGapstring
false
(optional) Defines how much the gap between columns should be. Can be large, medium, small, x-small or false for no gap. Defaults to false.
elementstring
React.Element
(optional) Define the type of element. Defaults to div.