Routing
You can use the BottomNavigation as a container for a navigational component with any router library.
Using Custom Properties to Set Route Paths
To use custom properties and set the route path:
- Pass a custom
route
property to theitems
collection. - Set the property to the corresponding path.
- After the user makes a selection, identify the selected item and redirect the source.
Example
View Source
Change Theme: