TGridPlaceItems

type
Layout & Sizing

Shorthand alignment applied to every item within its grid cell (align-items + justify-items). baseline is excluded because it has no meaningful semantics when items span rows or columns.

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.

center
Centers each item within its cell on both axes.
stretch
Stretches each item to fill its entire cell (default grid behaviour).
end
Aligns each item to the end edge of its cell.
start
Aligns each item to the start edge of its cell.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Center all items in their cells

html