Skip to main content

Grid

A default grid component.

This component is used to render a grid of children components.

Properties

PropertyTypeDefaultDescription
columnsnumber3The number of columns in the grid.
gap_sizenumber0The gap size between the columns.
gap_size_unitstringpxThe unit of the gap size. px, rem, em, %, vw, vh, vmin, vmax.
padding.leftnumber0The left padding of the container.
padding.rightnumber0The right padding of the container.
padding.topnumber0The top padding of the container.
padding.bottomnumber0The bottom padding of the container.
margin.leftnumber0The left margin of the container.
margin.rightnumber0The right margin of the container.
margin.topnumber0The top margin of the container.
margin.bottomnumber0The bottom margin of the container.