Skip to content

Standard Catalog

The Standard Catalog (standard_catalog_v1.json) provides the core set of UI components available to agents.

ComponentKey PropertiesDescription
Rowchildren, gap, justify, alignArranges children horizontally.
Columnchildren, gap, justify, alignArranges children vertically.
Spacerwidth, heightAn empty space component. Defaults to 16px.
DivideraxisA visual separator line (horizontal or vertical).
GridLayoutheaders, childrenDisplays tabular data with styled rows.
ComponentKey PropertiesDescription
Texttext, variantRenders text. Variants: h1-h5, caption, body.
MarkdowntextRenders rich markdown content.
Imageurl, fit, variantDisplays an image. Fit options correspond to CSS object-fit.
IconnameDisplays a Material Design icon (e.g., accountCircle, home).
Videourl, embedPlays a video. embed: true for YouTube/Vimeo.
AudioPlayerurl, embedPlays audio files or embeds (e.g., Spotify).
ComponentKey PropertiesDescription
Cardchild, padding, widthA styled container with shadow and rounded corners.
Listchildren, directionA scrollable list of components.
TabstabsA tabbed container. Each tab object requires a title and child.
Modaltrigger, contentAn overlay dialog. trigger is the ID of the component that opens it.
ComponentKey PropertiesDescription
Buttonaction, label, variantTriggers an action. Variants: primary, secondary, outline, borderless, danger.
TextFieldvalue, label, variantUser text input. Variants: shortText, longText, number, obscured.
CheckBoxvalue, labelA boolean toggle.
Dropdownvalue, options, labelSingle-select dropdown list.
ChoicePickervalue, optionsMultiple or single selection. variant: multipleSelection or mutuallyExclusive.
Slidervalue, min, maxNumeric range selection.
DateTimeInputvalue, enableDate, enableTimeDate and time selection (ISO 8601).

Catalog Functions Reference

These functions can be used within component properties (e.g., in checks or formatString) to perform client-side logic.

  • Validation: required, regex, length, numeric, email, isEmpty.
  • Logic: and, or, not, eq (equal), neq (not equal), gt (greater than), gte (greater/equal), lt (less than), lte (less/equal).
  • Formatting:
    • formatString: Interpolates data model values (e.g., ${/path/to/data}).
    • formatNumber: Options for decimal precision and grouping.
    • formatCurrency: Formats using ISO 4217 currency codes.
    • formatDate: Formats timestamps using Unicode TR35 patterns.
  • Actions:
    • openUrl: Opens a URL in a new browser tab/window.