Package-level declarations

Types

Link copied to clipboard
fun interface A2uiImageLoader

How a host draws the image at a URL.

Link copied to clipboard

How a Text draws its Markdown.

Link copied to clipboard
data class A2uiStrings(val confirm: String = "OK", val cancel: String = "Cancel", val filter: String = "Filter", val close: String = "Close", val video: String = "Video")

The handful of words this module has to supply itself, for the host to translate.

Link copied to clipboard

The A2UI basic catalog drawn with Material 3.

Properties

Link copied to clipboard

AudioPlayer -- the same promise as VideoRenderer, in a bar rather than a frame.

Link copied to clipboard

Button -- dispatches its action, and draws its child inside itself.

Link copied to clipboard

Card -- a visible boundary around exactly one child.

Link copied to clipboard

CheckBox -- a box and its label, toggling one boolean in the data model.

Link copied to clipboard

ChoicePicker -- the catalog's one component whose bound value is a list.

Link copied to clipboard

Column -- children laid out vertically.

Link copied to clipboard

DateTimeInput -- Material's date and time pickers, behind a field that shows ISO 8601.

Link copied to clipboard

Divider -- a hairline separating content.

Link copied to clipboard

Icon -- one of the catalog's fifty-nine names, or a path the agent drew itself.

Link copied to clipboard

Image -- the picture at a URL, drawn by the host's loader.

Link copied to clipboard

List -- a scrollable run of children, usually generated from a bound array.

Link copied to clipboard

The image loader in effect, or null when the host has provided none.

Link copied to clipboard
Link copied to clipboard

The words this module uses, which a host may replace -- see A2uiStrings.

Link copied to clipboard

Modal -- a trigger on the surface, and a dialog behind it.

Link copied to clipboard

Row -- children laid out horizontally.

Link copied to clipboard

Slider -- a number in a range, written back as the thumb moves.

Link copied to clipboard

Tabs -- one child at a time, chosen by a strip of headers.

Link copied to clipboard

TextField -- two-way binding's write half.

Link copied to clipboard

Text -- the component every example in the corpus uses.

Link copied to clipboard

Video -- the frame a player will occupy, with the poster in it.