← All notes

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

Sources

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

Permanent ID: iil:note:99zy7md8

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.},
}

Markdown

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.

All artifact files (JSON index)

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.