Skip to content

GenerativeUiComponentCard

HTTP API schema

A2UI `Card`. A rounded surface (`rounded-card` radius, `shadow-raised` elevation and the card padding) around exactly one child. To put several things in a card, make the child a `Row` or `Column` and reference that container's id.

GenerativeUiComponentCard fields

idstringRequired

Unique id in the surface.

minLength: 1

componentstringRequired

pattern: "^Card$"

childstringRequired

Id of the one child component.

weightnumber

Share of the free space in the parent `Row` or `Column`.

minimum: 0

exclusiveMinimum: true

View source specification ↗