View Transition Folio Page
- group .........
- Pages
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/view-transition-folio-page.mp4
- source ........
- https://ui.aryank.space/pages/view-transition-folio-page
- markdown ......
- /lab/view-transition-folio-page.md
- human .........
- /lab/view-transition-folio-page
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A three route photographer folio where the page change is handled entirely by the View Transition API. The old page lifts a third of a screen and fades while the new one opens upward from a flat clip path, so the arriving page unrolls over the departing one rather than crossfading. Entrance animations re-run on every route: nav links roll up from behind their clip, the hero name splits into characters, and about copy climbs line by line.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Entrances re-run per route
The source replaced the whole document body on navigation and re-initialised from scratch. The port keys its container on the route so React remounts it, which reproduces that fresh-mount behaviour without touching innerHTML.
* Clip path, not opacity
The incoming page opens a polygon from the bottom edge upward, so content is uncovered rather than faded, and nothing is ever semi-transparent mid-transition.