Chrome 126 enables View Transitions between pages, no single-page app required

2024-06-11 · Publisher : Google Chrome · Domain : Design, UX & UI

With Chrome 126, animated transitions between two pages of the same site become possible in CSS, without rewriting the site as a single-page app.

What changes

  • View Transitions now work on regular navigations between same-origin pages.
  • Each page opts in with the CSS rule @view-transition { navigation: auto }.
  • Multi-page sites get smooth transitions that used to be reserved for SPAs.
  • Interop 2025 covers same-document View Transitions; the cross-document version becomes a priority in Interop 2026.

### Background Chrome 126 reached the stable channel on **11 June 2024**. Its release notes highlight **cross-document View Transitions** for same-origin navigations. Until then, the View Transitions API could only be used in a single-page application (SPA) architecture. ### Key facts - Transitions enabled by default for **same-origin** navigations. - Both pages, the outgoing and the incoming one, opt in with the rule `@view-transition { navigation: auto; }`. - Same building blocks as same-document transitions: `::view-transition-*` pseudo-elements and `view-transition-name` to animate an element from one page to the next. - The same release re-enables the CloseWatcher API, which helps close `<dialog>` and `popover` cleanly (Escape key, Android back gesture). ### Why it matters Transitions between screens aid understanding: users see where an element comes from and where it goes. They used to require a client-side JavaScript router. A content site, a catalogue or a server-rendered application can now get them with a few lines of CSS, as progressive enhancement: browsers without support simply show the next page. ### Takeaway This starts a cross-browser effort: View Transitions are part of Interop 2025, and the cross-document version becomes an Interop 2026 focus area.

Links

Tags : CSS, Animation, Navigateurs