Routing
You can use the PanelBar as a navigational component with any router library.
Using Custom Properties to Set Route Paths
To use custom properties and set the route path:
- Apply the
route
custom property to thePanelBarItem
. - Set the property to the corresponding path.
- After the user makes a selection, identify the selected PanelBarItem by its
route
property and redirect the source.
Example
View Source
Change Theme: