Animated comparison: old approach items cross out one by one, then new approach slides in
| Field | Type | |
|---|---|---|
| items | array of strings (old approach items to cross out, alias: before_items) | required |
| before_label | string | optional |
| after_label | string | optional |
| result | string (the new approach shown after animation, alias: after_text) | required |
| delay | number (optional, seconds between strikes) | optional |
| accent | string (optional, hex) | optional |
{
"type": "before_after_stack",
"items": [
{
"label": "Item 1"
},
{
"label": "Item 2"
}
],
"result": "Improved"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:before_after_stack",
"displayName": "Before After Stack",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/before_after_stack",
"capabilities": [
"apps-script-web"
],
"description": "Animated comparison: old approach items cross out one by one, then new approach slides in",
"representativeQueries": [
"show a old-vs-new stack comparison animation",
"animated comparison: old approach items cross out one by one, then new approach slides in",
"render a before after stack"
]
}
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 →