There are two flavors of View Transitions. Same-document transitions (for SPAs) use JavaScript — you call document.startViewTransition () when you update the DOM. Cross-document transitions (for MPAs, ...