Masonry assemble

A masonry grid that lays itself out tile by tile on a seeded stagger, then holds.

0:00 / 0:01

Customize

3
5
20

Installation

pnpm odori add component masonry-assemble

Edit the source in videos/components/masonry-assemble/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Media
Recommended duration
150 frames · 5s
Minimum duration
90 frames · 3s
Entrance
70 frames
Exit
0 frames
Reduced motion
tiles fade in together without rising
Requires
Odori
Content limits
items ≤ 12

Props

PropTypeDefaultRequired
childrenThe tiles, in the order they should appear.ReactNode——
columnsnumber3—
staggerFrames between one tile starting its rise and the next.number5—
gapGutter between tiles, in design pixels.number20—

Related components

All components