Skip to content

Instantiate Widget Node

UI/Container

Creates a new widget instance for dynamic insertion into containers. The dropdown lists project widgets and widgets from packages added to the project; selecting one auto-generates typed input pins (exposed props and customizations for project widgets, contract inputs for package widgets).

a2ui_instantiate_widgetstdLong running
Inputs3
Outputs2
Security exposure8/10
Packagestd

Ratings

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

SecurityAttack surface and exposure impact.
8/10High
PrivacyPotential sensitivity of processed data.
8/10High
PerformanceRuntime or resource pressure.
8/10High
GovernancePolicy, audit, or compliance impact.
7/10High
ReliabilityOperational stability considerations.
8/10High
CostExternal or compute cost impact.
9/10High

Input Pins

3

▶

Execution
exec_in

Execution input

Widget

String
widget_selector

Select a widget from the project or from packages added to the project

Instance ID

String
instance_id

Unique ID for this widget instance

Output Pins

2

▶

Execution
exec_out

Execution output

Element Ref

Struct
element_ref

Element reference for the instantiated widget (connect to Push To Container)

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.

Node Info

Internal name
a2ui_instantiate_widget
Category
UI/Container
Version
6
Function references
Can reference functions