View Transitions

Each link below navigates with the turbo router and uses the browser's native View Transitions API to animate the page change. Try clicking around and using the browser's back button.

How to test: the view-transitions layout opts in to both the turbo router (turbo-visit-control: enable) and view transitions (turbo-view-transition: same-origin). Both checks read from the page you are leaving, so navigating from the site home into here is a regular full page load; every link between the demo pages below will use turbo plus a view transition.

How this demo is wired up