# Routing

You can utilize the [Angular Router](https://angular.dev/guide/routing/common-router-tasks) service and use the BottomNavigation as a navigational component.

To set the functionality, either:

* Use the [`select`](https://www.telerik.com/kendo-angular-ui-develop/components/navigation/api/bottomnavigationcomponent#select) event to [navigate to the route](https://angular.dev/api/router/Router#navigate) that the BottomNavigation item represents, or
* Use a [`template`](https://www.telerik.com/kendo-angular-ui-develop/components/navigation/api/bottomnavigationitemtemplatedirective) to add the [routerLink directive](https://angular.dev/api/router/RouterLink) to the item link. To expand the link element to fit the whole BottomNavigation item, apply the `k-bottom-nav-link` CSS class to it.

## Generating the RouterLink Directive

The following example demonstrates how to use a [`template`](https://www.telerik.com/kendo-angular-ui-develop/components/navigation/api/bottomnavigationitemtemplatedirective) to render the `routerLink` directive. To expand the link element to fit the whole BottomNavigation item, apply the `k-bottom-nav-link` CSS class to it.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/navigation/bottomnavigation/router/source.txt)

## Getting the Selected Item

You can execute the navigation logic in the [`select`](https://www.telerik.com/kendo-angular-ui-develop/components/navigation/api/bottomnavigationcomponent#select) event handler of the BottomNavigation.

When you use the [`select`](https://www.telerik.com/kendo-angular-ui-develop/components/navigation/api/bottomnavigationcomponent#select) event of the BottomNavigation, the event handler gets the selected item (route) and passes it to the [`navigate`](https://angular.dev/api/router/Router#navigate) method of the Router.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/navigation/bottomnavigation/router/source.txt)

## Suggested Links

* [API Reference of the BottomNavigation Component](https://www.telerik.com/kendo-angular-ui-develop/components/navigation/api/bottomnavigationcomponent)
