Check out Angular's support for the View Transitions API
Briefly

The Angular Router in version 17 introduces support for the View Transitions API, allowing for animated route transitions.
When the view transition feature is enabled, navigation pauses and a call is made to the browser's startViewTransition method.
Read at Medium
[
]
[
|
]