← All widgetsAdvancedReactive & Platform

Data-Bound

Self-refreshing API readout.

Polls a backend endpoint on an interval and renders the result — a live, self-updating readout with no JIT code. See Inter-Widget Events.

type · data_bound
A platform-level / reactive component.

How to use it

Just ask for it in chat — the agent emits this widget and the shell renders it:

Try saying
a live CPU meter that updates every few seconds

Example

The agent returns this A2UI component (inside the components array of a /chat response):

data_bound.json
{
  "type": "data_bound",
  "dataSource": "/api/system/metrics",
  "refreshMs": 5000,
  "display": "metric",
  "label": "CPU"
}

Properties

PropTypeDescription
dataSourcestringBackend path to poll
refreshMsnumberPoll interval (default 5000)
displaytext|metric|json|chartRender mode
labelstringCaption

Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.