widget · ui.widget

text

Semantic text.

ui.text(label, value?)
Stable ID
ui.widget.text
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

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

Examples

ui.text("Selection", "No villager selected")

API history

Related symbols

Project references