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.
| Surface | Note |
|---|---|
| meet-stage | Renders and collects input visually; form submit has no stage routing — use with follow_up_chips for conversational submission |
| Field | Type | |
|---|---|---|
| title | string. Form heading shown above fields. | optional |
| submit_label | string (optional, default 'Submit'). Label for the primary submit button. | optional |
| cancel_label | string. 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 |
{
"type": "form"
}
{
"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"
]
}
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 →