View transitions: animate between views on a site
Answer: The View Transition API creates seamless visual transitions between different views on a website. Trigger a same-document view transition by calling document.startViewTransition. Give an element a view-transition-name so it can be snapshotted.
What the API is for
This API can create seamless visual transitions as people move between views on a site.
A typical case is a thumbnail that becomes a full-size product image, or a fixed navigation bar that stays in place.
A same-document transition starts when you call document.startViewTransition.
What shipped and how naming works
Same-document view transitions are becoming Baseline Newly available.
Mark an element for snapshotting by giving it a view-transition-name.
The match-element value tells the browser to generate an internal name from the element's identity.
Trigger a same-document view transition by calling document.startViewTransition.
See also
Claims
- id: C1 claim: The View Transition API creates visual transitions between views. source: S1 evidence: "create seamless visual transitions between different views"
- id: C2 claim: Call document.startViewTransition to trigger a same-document transition. source: S1 evidence: "calling document.startViewTransition"
- id: C3 claim: Give an element a view-transition-name to snapshot it. source: S2 evidence: "give it a view-transition-name"
- id: C4 claim: match-element generates a name from the element's identity. source: S2 evidence: "based on the element's identity"
Sources
- [S1] Smooth transitions with the View Transition API. Chrome Developers. https://developer.chrome.com/docs/web-platform/view-transitions . License: CC-BY-4.0. Accessed 2026-11-23.
- [S2] What's new in view transitions (2025 update). Chrome Developers. https://developer.chrome.com/blog/view-transitions-in-2025 . License: CC-BY-4.0. Accessed 2026-11-23.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Chrome Developers, Smooth transitions with the View Transition API; Chrome Developers, What's new in view transitions (2025 update). CC-BY-4.0 (https://developers.google.com/site-policies). Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Copyright Google LLC. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Chrome Developers, Smooth transitions with the View Transition API; Chrome Developers, What's new in view transitions (2025 update). CC-BY-4.0 (https://developers.google.com/site-policies). Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Copyright Google LLC.
Cite this
iinventedlight. 2026. "View transitions: animate between views on a site." iinventedlight Library, iil:note:99zy7md8, version of 2026-11-23. https://iinventedlight.com/library/notes/css-view-transitions/. License: CC-BY-4.0.
@misc{iil_note_99zy7md8,
author = {{iinventedlight}},
title = {{View transitions: animate between views on a site}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-23},
url = {https://iinventedlight.com/library/notes/css-view-transitions/},
note = {Permanent ID iil:note:99zy7md8. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- css-view-transitions.schema.json (schema; CC-BY-4.0)
- css-view-transitions.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/css-view-transitions.md.