Zazz Design Framework
Components

Menubar

A bar of application menus (File, Edit, View) composed from menu primitives and utilities.

Menubars are composed from primitives: like Toolbar, there is no separate .ui-menubar class or stylesheet. A utility container (inline-flex items-center gap-px bg-card rounded-md shadow-sm p-xs) holds a row of Menu primitives. Each trigger carries popovertarget and interestfor pointing at its panel so menus open on click or hover. Because only one popover="auto" can be open per stack, hovering an adjacent trigger closes the previous menu automatically, giving you the classic menubar glide without JavaScript.

Default

Loading components…

A menu panel can hold richer content than a list: here the Help menu embeds a Combobox for searching topics.

Loading components…

Accessibility

The container deliberately omits role="menubar". That role requires a single tab stop with roving arrow-key focus across triggers, which a static composition does not provide. Instead, every trigger remains natively tabbable, and each open menu provides arrow-key navigation through the menu script. Provide an aria-label describing the group on the container.

API

AttributeTargetValues
(container)any elementUtility recipe, no component class
popovertarget + interestforEach triggerSame panel id: click + hover glide

On this page