Skip to content

GenerativeUiComponentRow

HTTP API schema

A2UI `Row`. Lays its children out left to right with gaps from the 4px spacing scale. A child's `weight` shares the free space, so two children with `weight: 1` make equal left and right columns. Children are referenced by id; they cannot be defined inline.

GenerativeUiComponentRow fields

idstringRequired

Unique id in the surface.

minLength: 1

componentstringRequired

pattern: "^Row$"

childrenarray<string>Required

Ids of the child components, in order. A data-model template list is not supported.

justifystring

Arrangement along the main axis (horizontal).

Default: start

Allowed values

  • start
  • center
  • end
  • spaceBetween
  • spaceAround
  • spaceEvenly
  • stretch
alignstring

Alignment along the cross axis (vertical).

Default: stretch

Allowed values

  • start
  • center
  • end
  • stretch
weightnumber

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

minimum: 0

exclusiveMinimum: true

View source specification ↗