Intercepting Routes

With names preceded by (.), intercepting routes prevent the other non-intercepting routes from getting rendered during a hyperlink navigation.

Intercepting Routes are often combined with Parallel Routes to effectively create modals. This approach addresses several common challenges when building modals, such as:

When you click the link, the parallel routes /app/login and /app/@menu/login are not displayed because they have been intercepted by /app/@modal/(.)login and /app/@status/(.)login.
If you enter [domain]/login directly in the address bar, the non-intercepting routes such as /app/login are used instead.

You can also use: