Under the hood
Transitions belong to the browser
@view-transition {
navigation: auto;
}
That is the whole opt-in. Direction is worked out from the slide numbers in the two URLs, so browser back and forward animate the right way too. Where cross-document transitions are unsupported, pages simply navigate.