Comparison Morph

Draggable before/after slider revealing two text panels side by side

Surfaces
apps-script-web
Fields
FieldType
before{label, text}optional
after{label, text}optional
titlestringoptional
Example payload
{
  "type": "comparison_morph"
}
ARD catalog entry
{
  "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"
  ]
}
← 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 →