Nested Menu
A menu with a submenu. Open the menu, then on an item that has a submenu press ArrowRight (or Enter) to open it and focus its first item; ArrowLeft or Escape closes the submenu and returns to the parent item. Escape at the top level closes the menu.
Preview
Installation
npx shadcn@latest add https://ui.publictheta.com/r/nested-menu.jsonConformance
This component conforms to the @publictheta/ui-spec nested-menu specification. Run the suite against any implementation with pnpm conformance.