Skip to content

Create Surface Node

UI/Surface

Creates a new A2UI surface with an ID and root component

a2ui_create_surfacestd
Inputs4
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

4

▶

Execution
exec_in

Execution input

Surface ID

String
surface_id

Unique identifier for the surface

Default main

Root Component ID

String
root_component_id

ID of the root component in the surface

Default root

Catalog ID

String
catalog_id

Optional custom component catalog

Output Pins

2

▶

Execution
exec_out

Execution output

Surface

Struct
surface

The created surface for adding components

SurfaceSurface4 fields
idstringrequired
rootComponentIdstringrequired
componentsMap<string, SurfaceComponent>required
*SurfaceComponentmap value

A component in the A2UI surface

idstringrequired
styleanyOf (2)
variant 1Stylevariant

Complete style definition

variant 2nullvariant
eventRelevantboolean

When true, this component's current value is included in widget action event payloads

catalogIdstring | null
Schema enforced

Node Info

Internal name
a2ui_create_surface
Category
UI/Surface