Skip to main content

Module menus

Module menus 

Source
Expand description

Shared menu + popover primitives (M-UI.3 / AUT-123).

Used by workspace switcher (UI-05), device pickers (UI-08), system-audio picker (UI-09), on-screen options popover (UI-10), tray record popover composition (UI-12), and any future menu.

These primitives don’t carry workspace / device semantics — they render rows of arbitrary content with the right look. The concrete menus compose them with the matching fixtures.

Re-exports§

pub use menu_footer::MenuFooter;
pub use menu_list::MenuList;
pub use menu_row::MenuBadgeView;
pub use menu_row::MenuRow;
pub use menu_row::MenuRowKind;
pub use menu_section::MenuSection;
pub use popover_surface::PopoverPlacement;
pub use popover_surface::PopoverSurface;

Modules§

menu_footer
MenuFooter — bottom slot inside PopoverSurface for primary action buttons or quiet hint text (M-UI.3 / AUT-123).
menu_list
MenuList<ul role="menu"> wrapper used by every menu so the list semantics are consistent (M-UI.3 / AUT-123).
menu_row
MenuRow — one row inside a popover menu (M-UI.3 / AUT-123).
menu_section
MenuSection — optional group heading + child rows (M-UI.3 / AUT-123).
popover_surface
PopoverSurface — popover chrome shared across every tray / dropdown / on-screen-options menu (M-UI.3 / AUT-123).