Faq Accordion

Renders a list of questions and answers, where answers are hidden until

Surfaces
webmeet-stagepdfapps-script-web
Degraded on
SurfaceNote
googlechatRenders as a simple list of questions and answers without interactive collapse/expand functionality.
emailRenders as a simple list of questions and answers without interactive collapse/expand functionality.
Fields
FieldType
itemslist of objects, each with 'question' (string) and 'answer' (string)required
Example payload
{
  "type": "faq_accordion",
  "items": [
    {
      "label": "Item 1"
    },
    {
      "label": "Item 2"
    }
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:faq_accordion",
  "displayName": "Faq Accordion",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/faq_accordion",
  "capabilities": [
    "web",
    "meet-stage",
    "pdf",
    "apps-script-web"
  ],
  "description": "Renders a list of questions and answers, where answers are hidden until",
  "representativeQueries": [
    "show a collapsible FAQ question and answer list the question is clicked",
    "renders a list of questions and answers, where answers are hidden until",
    "render a faq accordion"
  ]
}
← 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 →