MASONRY_ALIGNS

const
Layout & Sizing

Closed list of valid align values for OrigamMasonry. Exposed so stories and consumers can iterate the full matrix without retyping the literals. Accepted values: top (Pinterest-style) and center.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

'top'
Align columns to the top — standard Pinterest-style layout.
'center'
Align columns to their vertical center.

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamMasonry

Usage

Examples

Ready-to-paste code snippets using this constant.

Iterating valid align values in a story

typescript