GenerativeUiComponentText
HTTP API schema
A2UI `Text`. Renders as Compose `Text` with the Port OS type scale: Markdown headings set the level: `#` headline, `##` page title, `###` section heading, `####` to `#####` subsection heading, `variant: body` (default) is body size and `variant: caption` is the smallest size, all in the default text color. Only simple Markdown is read (headings, emphasis); HTML, images and links are not.
GenerativeUiComponentText fields
- id
stringRequired Unique id in the surface. One component in the surface has the id `root`.
minLength: 1
- component
stringRequired pattern: "^Text$"
- textGenerativeUiDynamicStringRequired
- variant
string Base text style.
Default:
bodyAllowed values
bodycaption
- weight
number Share of the free space in the parent `Row` or `Column`. Only valid on a direct child of one.
minimum: 0
exclusiveMinimum: true
- accessibilityGenerativeUiAccessibility