Capítulo 28 de 51
A one-part horizontal bar that coordinates multiple Menu.Root children — cross-menu arrow-key navigation (moving from one top-level menu to the adjacent one) and shared modality, the desktop-app "File / Edit / View" pattern.
Menubar wraps multiple full Menu.Root trees directly — Menubar itself has no other sub-parts; all menu behavior is plain Menu (ch027).Menu.Roots side by side.modal: whether opening one menu in the bar is modal (blocks outside interaction) — data-modal reflects this on the root element.| Part | Notable props | Notable data attributes |
|---|---|---|
Menubar | loopFocus, modal, disabled, orientation | data-orientation, data-has-submenu-open, data-modal |
Menu.Roots) the moment cross-menu arrow-key navigation is a requirement — that coordination doesn't happen automatically without the wrapper.Viewport transitions) — Menubar only adds the bar-level orchestration.