Collapsible Panel

Renders a standalone section of content that can be toggled between

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
toggle_labelstring The text for the control that expands/collapses the content.required
initial_statestring, default "collapsed" The initial state of the panel ("expanded" or "collapsed").required
contentstring The main content to be shown or hidden.required
Example payload
{
  "type": "collapsible_panel",
  "toggle_label": "Toggle label",
  "content": "A concise description of the content."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:collapsible_panel",
  "displayName": "Collapsible Panel",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/collapsible_panel",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a standalone section of content that can be toggled between",
  "representativeQueries": [
    "show a expandable content panel with header toggle visible and hidden states by clicking a control, using only CSS",
    "renders a standalone section of content that can be toggled between",
    "render a collapsible panel"
  ]
}
← 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 →