Embed
Sandboxed nested surface (own data and ids); its event actions fire action {name, context}; bad = an error box.
Group: Layout · Kind: native
Preview
Section titled “Preview”Platforms
Section titled “Platforms”The same specimen painted by React, SwiftUI, Compose and gpui.




| Prop | Type | Required | Bindable | Description |
|---|---|---|---|---|
surface |
object |
yes | yes | {root: a nested component, data?: object}. |
Events
Section titled “Events”on.action: runs an action
None.
Children
Section titled “Children”none
A2UI basic mapping
Section titled “A2UI basic mapping”No basic catalog component maps here.
Built from
Section titled “Built from”A native component: every renderer paints it directly.
Accessibility
Section titled “Accessibility”Role: none
no role of its own: the nested surface’s nodes join the host’s order in place; the error box is an Alert
| Keys | Action |
|---|---|
None of its own |
Tab moves through the nested surface’s controls in place |
Theming
Section titled “Theming”Recipe parts: Embed/root
Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover :warning :info
Related
Section titled “Related”Box · Stack · Grid · Card · Window · Separator · List · Resizable