TMasonryAlign
type
Layout & Sizing
Vertical alignment of items inside a masonry column — top (Pinterest-style, default) or center. Only observable in the JS fallback path; the CSS-native masonry path always aligns to top.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- center
- Column content is centred vertically inside the container height. Forces the JS fallback path because CSS-native masonry does not expose an equivalent alignment hook.
- top
- Items are packed against the top of each column (default, Pinterest-style). Works in both CSS-native and JS fallback paths.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Center-aligned masonry columns