widget · ui.widget
menu
Semantic menu heading.
ui.menu(label, state?)
- Stable ID
ui.widget.menu- Owner
- app.ScriptUiWidget
- Authority
- presentation
- Timing
- composition
- Availability
- Phase 14G
- Side effects
- Records detached presentation intent.
- Determinism
- Emission order.
- Introduced
- 1.0.0
Usage
Compose this widget only inside a balanced ui.begin_panel and ui.end_panel block. Its semantic metadata and focus order remain part of the validated interface graph.
Parameters
- None
Returns
A stable widget contract consumed by the interface composition host.
Cost
Counts against the package composition instruction and surface work budgets; it does not traverse simulation ownership.
Fields
This symbol has no fields.
Errors
- None
Examples
ui.menu("World", "Observe the settlement")
API history
- 1.0.0: Runtime contract published from the complete Phase 14 registry.