Draggable before/after slider revealing two text panels side by side
| Field | Type | |
|---|---|---|
| before | {label, text} | optional |
| after | {label, text} | optional |
| title | string | optional |
{
"type": "comparison_morph"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:comparison_morph",
"displayName": "Comparison Morph",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/comparison_morph",
"capabilities": [
"apps-script-web"
],
"description": "Draggable before/after slider revealing two text panels side by side",
"representativeQueries": [
"show a draggable before/after comparison slider",
"draggable before/after slider revealing two text panels side by side",
"render a comparison morph"
]
}
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 →