Command focus
InitialStatetype-alias
Initial Menubar values. Uses Composite defaults unless overridden.
Stateinterface
The active top-level command and horizontal navigation policy. Child menu visibility belongs to the separate Menu state connected by its submenu trigger.
StateSchemavariable
Effect Schema used by makeState to encode, decode, and hydrate Menubar state.
makeStatefunction
Creates hydrated Menubar state. Uses Composite defaults unless overridden.
Command registration
makeCollectionvariable
Creates a scoped Collection for Menubar items.
Top-level commands
Itemfunction
Renders a registered menuitem and runs onActivate for native focus or click unless disabled.
ItemOptionsinterface
Inputs accepted by Menubar.Item in addition to the shared DOM host options.