Form

Form container with labelled field controls and explicit submit/cancel buttons. Fields are expressed as a list of {label, type, name, placeholder, options, rules} entries.

Surfaces
webmeet-stage ⚠apps-script-web
Degraded on
SurfaceNote
meet-stageRenders and collects input visually; form submit has no stage routing — use with follow_up_chips for conversational submission
Fields
FieldType
titlestring. Form heading shown above fields.optional
submit_labelstring (optional, default 'Submit'). Label for the primary submit button.optional
cancel_labelstring. If set, renders a secondary cancel button.optional
fields{'type': 'array', 'items': {'label': 'string. Visible field label.', 'name': 'string. Field identifier used in form submission.', 'type': 'string. One of: text, email, password, number, url, textarea, select, radio, checkbox, switch, slider, date. Default: text.', 'placeholder': 'string.', 'options': 'array of {value, label} (required for select, radio, checkbox types).', 'default_value': 'string | boolean | number.', 'rules': "array of strings. Validation rules e.g. ['required', 'email', 'minLength:2']."}}optional
Example payload
{
  "type": "form"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:form",
  "displayName": "Form",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/form",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Form container with labelled field controls and explicit submit/cancel buttons. Fields are expressed as a list of {label, type, name, placeholder, options, rules} entries.",
  "representativeQueries": [
    "show a labelled form with fields and submit button",
    "form container with labelled field controls and explicit submit/cancel buttons. fields are expressed",
    "render a form"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →