Renders a block explicitly comparing two entities with a prominent
| Surface | Note |
|---|---|
| google-chat | Renders as two stacked cards, losing the explicit 'VS' visual separation. |
| Renders as two stacked blocks, losing the explicit 'VS' visual separation and side-by-side layout. |
| Field | Type | |
|---|---|---|
| entity_a_name | string | required |
| entity_a_description | string | required |
| entity_a_image_url | string | required |
| entity_b_name | string | required |
| entity_b_description | string | required |
| entity_b_image_url | string | required |
| comparison_points | array | required |
{
"type": "versus_block",
"entity_a_name": "Entity a name",
"entity_a_description": "Entity a description",
"entity_a_image_url": "https://example.com",
"entity_b_name": "Entity b name",
"entity_b_description": "Entity b description",
"entity_b_image_url": "https://example.com",
"comparison_points": [
{
"label": "Performance",
"a": "Fast",
"b": "Moderate"
},
{
"label": "Price",
"a": "$9",
"b": "$19"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:versus_block",
"displayName": "Versus Block",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/versus_block",
"capabilities": [
"web",
"google-meet-stage",
"google-apps-script-web",
"mcp-apps"
],
"description": "Renders a block explicitly comparing two entities with a prominent",
"representativeQueries": [
"show a head-to-head two-option versus card \"VS\" separator",
"renders a block explicitly comparing two entities with a prominent",
"render a versus block"
]
}
The renderer is an open-source Google Apps Script web app. 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 a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →