view-transition-name

The CSS property that gives an element a unique name so the View Transitions API can animate it from its old state to its new one.

In more detail

The browser pairs elements with the same name in the old and new snapshots. Each name must be unique on the page at the moment of the snapshot.

Related terms

Taught in

References