An array of GridRow components. Each GridRow defines one row in the grid. The number of columns is determined by the row with the most children.
Configuration options for the grid.
Support
Usage
Basic grid
With spacing
Spanning columns
Use the.gridCellColumns() modifier to span a cell across multiple columns:
With alignment
Notes
- Grid determines the number of columns from the row with the most children. Rows with fewer children leave trailing cells empty.
- Use Divider directly as a child (not inside a GridRow) to insert a horizontal separator that spans the full grid width.
- Grid cell modifiers (
.gridCellColumns(),.gridCellAnchor(),.gridCellUnsizedAxes(),.gridColumnAlignment()) control individual cell layout behavior.