Composable menus currently require consumer keyboard handling and use of our undocumented popper.js wrapper component called Popper. We understand this is inconvientent boilerplate and these examples will be updated to use Dropdown in a future release.
Composable tree view menu
When rendering a menu-like element that does not contain MenuItem components, Panel allows more flexible control and customization.
The flyout will automatically position to the left or top if it would otherwise go outside the window. The menu must be placed in a container outside the main content like Popper, Popover or Tooltip since it may go over the side nav.
View source on GitHub