# Routing

You can use the Menu as a navigational component by wiring it with any router library.

1. Set the [`data`](https://www.telerik.com/kendo-react-ui/components/layout/api/basemenuitem#data) property of each Menu item to the corresponding route path.
2. Upon the selection of a Menu item, read the route path from the [`data`](https://www.telerik.com/kendo-react-ui/components/layout/api/basemenuitem#data) property and push it to `props.history`.
3. The component that is passed through `props.children` corresponds to the new route path.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/menu/routing/func/source.txt)

## Suggested Links

* [API Reference of the Menu](https://www.telerik.com/kendo-react-ui/components/layout/api/menuprops)
* [API Reference of the MenuItem](https://www.telerik.com/kendo-react-ui/components/layout/api/menuitemprops)
* [API Reference of the MenuItemModel](https://www.telerik.com/kendo-react-ui/components/layout/api/menuitemmodel)
