Css Modal

Renders a modal dialog that appears on click and can be dismissed,

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
trigger_textstring The text or element that, when clicked, opens the modal.required
modal_titlestring The title displayed at the top of the modal.required
modal_bodystring The main content of the modal dialog.required
close_button_labelstring, default "Close" The label for the button to close the modal.required
Example payload
{
  "type": "css_modal",
  "trigger_text": "Click to trigger",
  "modal_title": "Modal title",
  "modal_body": "Modal body"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:css_modal",
  "displayName": "Css Modal",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/css_modal",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a modal dialog that appears on click and can be dismissed,",
  "representativeQueries": [
    "show a pure-CSS modal dialog triggered by checkbox controlled purely by CSS without JavaScript",
    "renders a modal dialog that appears on click and can be dismissed,",
    "render a css modal"
  ]
}
← 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 →