Angular 22 · Routing and forms

Link to a route

Navigate without a page reload and mark the active link.

<a routerLink="/users" routerLinkActive="active">Users</a>

Official Angular 22 documentation

More routing and forms commands

All routing and forms commands · Angular 22 cheatsheet

Was this page helpful?