Checked commands
CheckboxItemfunction
Renders Item with menuitemcheckbox semantics and caller-supplied checked state.
CheckboxItemOptionsinterface
Inputs accepted by Menu.CheckboxItem in addition to the shared DOM host options.
RadioItemfunction
Renders Item with menuitemradio semantics and caller-supplied checked state.
RadioItemOptionsinterface
Inputs accepted by Menu.RadioItem in addition to the shared DOM host options.
Command grouping
Groupfunction
Renders a labelled ARIA group inside menu content.
GroupOptionsinterface
Inputs accepted by Menu.Group in addition to the shared DOM host options.
Separatorfunction
Renders a separator with explicit horizontal or vertical orientation.
SeparatorOptionsinterface
Inputs accepted by Menu.Separator in addition to the shared DOM host options.
Command registration
makeCollectionvariable
Creates a scoped Collection for Menu items.
Commands
Dismissvariable
Consumer-facing alias of the canonical Menu component with identical behavior and lifetime.
Itemfunction
Renders and optionally registers a menu item; disabled items remain announced but do not activate.
ItemOptionsinterface
Inputs accepted by Menu.Item in addition to the shared DOM host options.
Popup state
InitialStateinterface
Initial Menu values. The caller supplies id; open defaults false, activeId null, loop true, and orientation vertical.
Stateinterface
Popup identity, visibility, and active command focus. Checked preferences and command results belong to the application, not this state.
StateSchemavariable
Effect Schema used by makeState to encode, decode, and hydrate Menu state.
makeStatefunction
Creates hydrated Menu state. The caller supplies id; open defaults false, activeId null, loop true, and orientation vertical.
setOpenfunction
Updates only the menu’s explicit open state.