components/menu library

Classes

UiDropdownMenu
Dropdown menu surface and trigger.
UiFluidMenuButton
Compatibility name for UiDropdownMenu. New code should use UiDropdownMenu. Retains the original fixed width and outside-tap passthrough defaults.
UiMenuGestureController
Bridges a held gesture from an anchor into its separately mounted popup. Attach to one stack at a time; the anchor forwards its long-press updates.
UiMenuGroup
Labelled cluster of items; renders an optional caption + items.
UiMenuItem
Single actionable row in the menu.
UiMenuNode
Base type for anything that can appear in a UiDropdownMenu.
UiMenuSeparator
Horizontal separator between groups/items.
UiMenuShortcut
Shortcut display widget (kept alongside items, not an item itself).
UiMenuStack
Bounded menu stack. Submenus morph from their selected row, covering a retained parent at parentScale. The caller owns root overlay placement/dismissal; Back and Escape pop one nested level.
UiMenuSubmenu
Long-press / hover submenu. Rendered inline as a row that opens a nested menu on tap.
UiMenuTransition
Menu-specific fluid presentation: stable content is revealed by the moving outline, while visual separation returns to the parent during contraction. Unlike a standalone button morph, the compact endpoint owns no separate fill.

Enums

UiMenuScrollBehavior
How an open menu responds when its anchor's ancestor scrollable moves.