MASONRY_DEFAULTS
const
Layout & Sizing
Default prop values for OrigamMasonry. Exported so consumers can reference or override them when authoring wrappers without re-importing the component.
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.
- columns: 3
- Default number of columns — 3 (typical Pinterest-style layout).
- gap: 'md' as TGridGapSize
- animated: true
- Transitions enabled by default for smoother resize and column-flip.
- align: 'top' as TMasonryAlign
- tag: 'div'
- Root HTML tag — neutral 'div' wrapper.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamMasonry
Usage
Examples
Ready-to-paste code snippets using this constant.
Extending MASONRY_DEFAULTS in a wrapper component