TGridAutoFlow

type
Layout & Sizing

Closed list of CSS grid-auto-flow values surfaced by OrigamGrid — controls how implicit tracks are filled when items overflow the explicit template.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

column
Items fill each column in turn, adding new columns as needed.
row
Items fill each row in turn, adding new rows as needed (default browser behaviour).
row dense
Row-first flow with a backfill pass — smaller items are placed in earlier gaps, improving visual density at the cost of DOM order.
column dense
Column-first flow with a backfill pass — same density algorithm applied to column layout.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Dense column packing to eliminate gaps

html