Overlays
Menu
Anchored action surface with stack, focus, keyboard, and outside-click behavior.Menu
Playground
Configure the baseline public contract and copy synchronized Vue markup.
MMenu API
Props, slots, and events are extracted from the current public UI Kit contract.
Props
NameTypeDefault
closeOnBackdropbooleantrueabsolutebooleanfalseorigin'top left' | 'top right' | 'bottom left' | 'bottom right' | 'center' | 'top' | 'bottom''top left'matchWidthbooleanfalseanchorElement the surface is positioned against. Defaults to the menu's parent element, which is right whenever the parent *is* the trigger. A composite field is the case where it is not: its box also holds the label and the support line, so anchoring to it drops the menu below the helper text with a gap the size of that line. Such a consumer passes the drawn container instead.HTMLElement | nullnullSlots
Events
@click-outsidevoid