RouterLinks can be used to create links to other routes on the same web page. The advantage over an anchor is that when the route to a view changes, the RouterLink automatically adjusts.

Important properties:

  • Text - text describing the RouterLink.

  • NavigationTarget - The class to which the RouterLink should switch.