Strip Merge Reveal
- group .........
- Preloaders and loaders
- source ........
- https://ui.aryank.space/components/strip-merge-reveal
- markdown ......
- /lab/strip-merge-reveal.md
- human .........
- /lab/strip-merge-reveal
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A landing intro that opens on a dark card: a counter runs to a hundred in one corner while a three line status list steps up through a single line window. Behind it five narrow portrait strips rise into place, the row closes its gap, and the strips scale to full size. The four outer strips then wipe upward one after another, the centre strip doubles, and the dark card lifts away to leave that image filling the frame with the name rising in beneath it. GSAP with CustomEase and masked SplitText words.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Three timelines, no shared clock
Counter, status list, and image reveal are separate timelines with their own delays. Nothing waits on anything else, so the counter can still be climbing while the strips have already merged, which is what makes the intro feel busy rather than choreographed.
* The status list is one window, not three fades
All three lines live in a column inside a one line tall clip, and the column steps by exactly its line height. Each move is a single tween on the same element, so the lines cannot drift out of register with each other.
* The closed gap is resolved before GSAP sees it
The row is sized in container units so it scales with the box, but GSAP cannot interpolate a cqw value. The closed gap is converted to pixels against the component's own width first, which is why the merge lands identically at any size.