Expandable Text

Renders a block of text that can be expanded or collapsed to reveal

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
summarystringrequired
detailsstringrequired
initial_state_expandedbooleanrequired
Example payload
{
  "type": "expandable_text",
  "summary": "A concise description of the content.",
  "details": "Click to expand and read the full details.",
  "initial_state_expanded": true
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:expandable_text",
  "displayName": "Expandable Text",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/expandable_text",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a block of text that can be expanded or collapsed to reveal",
  "representativeQueries": [
    "show a truncated text with read more expand toggle more content",
    "renders a block of text that can be expanded or collapsed to reveal",
    "render a expandable text"
  ]
}
← 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 →