Function
Rendered once, in the locale layout, around everything below the site header. A navigation mutates what is inside it, and React plays the class for the navigation's transition type on the old and the new snapshot.
One wrapper element, so the browser takes one snapshot: a footer captured
on its own would ghost between its old and new position instead of leaving
with its page. The wrapper is the flex column that keeps the footer at the
bottom of a short page, a job it takes over from <body>.
ViewTransition comes from the React canary Next bundles for the App
Router. The React that Vitest and Storybook load does not have it, so the
page is rendered in the same wrapper without a boundary there — same DOM,
no motion.
The one boundary every route transition animates: the page and its footer, as a single moving surface.