Swing In Work Grid
- group .........
- Galleries and grids
- source ........
- https://ui.aryank.space/components/swing-in-work-grid
- markdown ......
- /lab/swing-in-work-grid.md
- human .........
- /lab/swing-in-work-grid
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A work index where each row swings into place. Cards start a thousand pixels low and rotated sixty degrees, mirrored left against right, so a row reads as two panels hinging shut. The row fires once when it reaches mid viewport and the pair lands on a quarter second stagger, which keeps the second card still turning as the first settles. GSAP ScrollTrigger with Lenis.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Mirrored rotation makes it a hinge
The left card starts at minus sixty degrees and the right at plus sixty, both about their own centers, so the pair reads as two panels closing rather than two cards rotating the same way.
* Fires once per row, not scrubbed
Each row triggers a one second power4.out on entry instead of tracking scroll, so the landing keeps its ease no matter how fast the reader is moving.