Renders a block of text that can be expanded or collapsed to reveal
| Field | Type | |
|---|---|---|
| summary | string | required |
| details | string | required |
| initial_state_expanded | boolean | required |
{
"type": "expandable_text",
"summary": "A concise description of the content.",
"details": "Click to expand and read the full details.",
"initial_state_expanded": true
}
{
"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"
]
}
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 →