API Reference A2UIPhoenix v#0.1.1

Copy Markdown View Source

Modules

Phoenix/LiveView renderer for A2UICore.

The function components that walk a resolved surface, and the helpers component implementations share.

Function components for the basic catalog (v0.9.1 and v1.0): Text, Image, Icon, Video, AudioPlayer, Row, Column, List, Card, Tabs, Modal, Divider, Button, TextField, CheckBox, ChoicePicker, Slider and DateTimeInput.

The function component for the MCP catalog's McpApp (v1.0): an MCP App running in a double-iframe sandbox, connected to the surface over the MCP Apps JSON-RPC bridge.

What a component needs to render inside a surface.

How a form change on a surface becomes a write.

Hosts an A2UIPhoenix.Session in a LiveView.

The host side of the MCP catalog's McpApp component: what the component renders from its props, and the checks the host makes on what the embedded app sends over the MCP Apps bridge (see the A2UI MCP App component specification). A2UIPhoenix.Session.mcp_app_request/5 acts on the requests; priv/static/a2ui_phoenix.js runs the bridge in the browser.

Streams A2UI messages to a renderer outside LiveView as server-sent events.

The renderer side of one A2UI conversation: the surfaces an agent built (an A2UICore.Processor) and, for each surface, its resolved component tree (an A2UICore.Resolution.NodeResolver).

A LiveComponent that renders one surface of an A2UIPhoenix.Session.