Rendering nested Menu components to create a dropdown menu with submenus that open when hovering over the parent menu item.
In the example below, we use the primitive Ariakit components to create custom reusable Menu
and MenuItem
components that are aware of their parent menu.