Logo Mibo

GridOpts<'T> Type

Options and content for `Flow.grid`: track sizes, the area template, the gap between tracks, and the stamps placed into named areas or explicit slots. Every area name in `Places` must match a template area; every slot must fit inside the declared tracks.

Record fields

Record Field Description

Areas

Full Usage: Areas

Field type: string[]

Grid-area template strings (`"main main side"` spans columns, `.` is an empty cell).

Field type: string[]

Cols

Full Usage: Cols

Field type: Track[]

Column tracks; `Fixed` and `Auto` tracks count toward the intrinsic footprint.

Field type: Track[]

Gap

Full Usage: Gap

Field type: int

Empty cells between tracks.

Field type: int

Places

Full Usage: Places

Field type: (Place * Stamp<'T>)[]

Stamps placed into the grid, by named area or by explicit slot.

Field type: (Place * Stamp<'T>)[]

Rows

Full Usage: Rows

Field type: Track[]

Row tracks; `Fixed` and `Auto` tracks count toward the intrinsic footprint.

Field type: Track[]

Type something to start searching.