A2UISurface
stableAgent-to-UI renderer — accepts declarative nodus:* component specs and renders the appropriate Nodus component
import { A2UISurface } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
specreq | AllNodusComponents | AllNodusComponents[] | — | A single component spec or array of specs to render |
onAction | ActionHandler | — | Called when an action button is activated, receives { actionId, componentId, componentType, payload, timestamp } |
specrequiredType
AllNodusComponents | AllNodusComponents[]Default —A single component spec or array of specs to render
onActionType
ActionHandlerDefault —Called when an action button is activated, receives { actionId, componentId, componentType, payload, timestamp }
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?