API Reference
Complete TypeScript API for a2ui-shadcn.
<A2UISurface>
Props:
typescript
useA2UIDataModel
typescript
Example:
tsx
registerFunction
typescript
Message Types
A2UIMessage:
typescript
CreateSurfaceMessage:
typescript
UpdateComponentsMessage:
typescript
UpdateDataModelMessage:
typescript
ActionMessage:
typescript
Transport Types
typescript
Next Steps
- Interactive Playground - Try the API live