Skip to content

Get Widget Element Node

UI/Container

Resolves an element inside a widget instance (from Instantiate Widget). The output plugs into any element node (Set Element Value, Update GeoMap, Push CSV To Chart, …).

a2ui_widget_get_elementstd
Inputs2
Outputs2
Security exposureUnrated
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

2

Widget

Struct
element_ref

Widget instance reference (from Instantiate Widget)

ElementRefElementRef5 fields
idstringrequired

Identifier of the element or widget instance.

instanceIdstring | null

Instance the element lives in. Absent for elements addressed directly.

widgetIdstring | null

Widget this instance was created from.

surfaceIdstring | null

Surface the element is rendered on.

componentvalue

The component itself, whose props are defined by the component type.

Element ID

String
element_id

ID of the element inside the widget (e.g. 'chart-1')

Output Pins

2

Element

Struct
element

The element reference (connect to element nodes)

A2UIElementA2UIElement6 fields
idstringrequired

Unique identifier for this element

styleanyOf (2)

Optional style configuration

variant 1Stylevariant

Complete style definition

classNamestring | null
backgroundanyOf (2)
variant 1Backgroundvariant

Background type

variant 2nullvariant
borderanyOf (2)
variant 1Bordervariant

Border styling

variant 2nullvariant
shadowanyOf (2)
variant 1Shadowvariant

Shadow styling. The JSON representation intentionally matches the original frontend contract. The previous `{ boxShadows, textShadow }` shape is still accepted during deserialization and normalized to these fields.

variant 2nullvariant
paddinganyOf (2)
variant 1Spacingvariant

Spacing (padding/margin). Edge fields are the canonical frontend JSON shape; strings and `{ "value": "..." }` remain accepted for compatibility.

variant 2nullvariant
+46 more fields
variant 2nullvariant
childrenanyOf (2)

Child component references

variant 1Childrenvariant

Children definition - explicit list or template

variant 1objectvariant
explicitListArray<string>required
variant 2objectvariant
templateobjectrequired
variant 2nullvariant
actionsarray | null

Actions that can be triggered on this component

itemsActionarray item

Action definition for user interactions

namestringrequired
contextMap<string, BoundValue>
default {}
*BoundValuemap value

Represents a value that can be either a literal or a data path binding

targetSurfaceIdstring | null
eventHandlersobject | null

Ordered actions bound to named component events. Legacy `actions` remains the fallback.

*Array<Action>map value
itemsActionarray item

Action definition for user interactions

namestringrequired
contextMap<string, BoundValue>
default {}
targetSurfaceIdstring | null
__element_idstring | null

Internal element ID for workflow operations (added at runtime)

Exists

Boolean
exists

Whether the element exists in the widget

Node Info

Internal name
a2ui_widget_get_element
Category
UI/Container