GRID_AUTO_FLOWS
const
Layout & Sizing
Closed list of valid `autoFlow` values for OrigamGrid (row, column, row dense, column dense). Maps directly to the CSS `grid-auto-flow` property values.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- 'row'
- Auto-places items by filling each row before moving to the next.
- 'column'
- Auto-places items by filling each column before moving to the next.
- 'row dense'
- Row placement with dense packing — fills gaps left by larger items.
- 'column dense'
- Column placement with dense packing.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamGrid
GRID_DEFAULTS
Usage
Examples
Ready-to-paste code snippets using this constant.
Iterating auto-flow options