Skip to content

GenerativeUiComponentList

HTTP API schema

A2UI `List`. On a TV it is a non-scrolling row or column: nothing can be focused or scrolled, so children that do not fit are clipped. Show few items; for more, split them across `Row` and `Column`, or replace the surface.

GenerativeUiComponentList fields

idstringRequired

Unique id in the surface.

minLength: 1

componentstringRequired

pattern: "^List$"

childrenarray<string>Required

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

directionstring

Direction the children are laid out.

Default: vertical

Allowed values

  • vertical
  • horizontal
alignstring

Alignment along the cross axis.

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 ↗