Element: #945 Bar open state (navigation/menubar) What it shows: A two-menu bar (Share, Insert) with a line reporting whether any menu is open through onOpenChange. When to use: Reacting to the bar as a whole, for example dimming a canvas while a menu is open, without tracking each menu. Spec: - ` (open = o)}>` with two `MenubarMenu`s, Share and Insert - `onOpenChange` fires when the bar goes from none open to one open and back, not when the pointer or arrows switch between menus - A line reads "A menu is" followed by open or closed Tags: menubar, on-open-change, menu, compact, state, hover Needs: @codeatlasdev/ui@4.6.0 Components: DropdownMenuItem, Menubar, MenubarMenu Live demo: https://ui.codeatlas.com.br/docs/navigation/menubar#bar-open-state (open = o)}> Copy link Invite people Table Image A menu is {open ? 'open' : 'closed'}.