Nested menubar menu #435
Answered
by
mathewtaylor
Computermatronic
asked this question in
Q&A
|
Is it possible to have nested menubar menus like the below?
|
Answered by
mathewtaylor
Sep 19, 2026
Replies: 1 comment
|
Yes — this shipped in 4.0.0, and sorry it took a while to get back to you. Menubar gained the same submenu family the other menus have: <BbMenubar>
<BbMenubarMenu>
<BbMenubarTrigger>File</BbMenubarTrigger>
<BbMenubarContent>
<BbMenubarItem>New</BbMenubarItem>
<BbMenubarSub>
<BbMenubarSubTrigger>Open Recent</BbMenubarSubTrigger>
<BbMenubarSubContent>
<BbMenubarItem>Project A</BbMenubarItem>
<BbMenubarItem>Project B</BbMenubarItem>
</BbMenubarSubContent>
</BbMenubarSub>
<BbMenubarSeparator />
<BbMenubarItem>Exit</BbMenubarItem>
</BbMenubarContent>
</BbMenubarMenu>
</BbMenubar>They nest as deep as you need, with roving focus and typeahead, and the submenu flips side when it would run off the viewport edge.
|
0 replies
Answer selected by
mathewtaylor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yes — this shipped in 4.0.0, and sorry it took a while to get back to you.
Menubar gained the same submenu family the other menus have: