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:

  1. Apply the route custom property to the PanelBarItem.
  2. Set the property to the corresponding path.
  3. After the user makes a selection, identify the selected PanelBarItem by its route property and redirect the source.
Example
View Source
Change Theme: