Completion Gate

Renders a locked placeholder card until the specified module id is marked complete in progress_store. Once complete, the gate disappears to reveal content below it. Use to sequence content and prevent skipping.

Surfaces
google-apps-script-webwebgoogle-meet-stagemcp-apps
Live preview
🔒
Locked
Complete the previous section to unlock this content.
Fields
FieldType
requiresstring (required). Module id that must be complete in progress_store to unlock.required
labelstring. Lock card heading. Default "Locked".optional
messagestring. Message shown on the lock card.optional
Example payload
{
  "type": "completion_gate",
  "requires": "complete_intro"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:completion_gate",
  "displayName": "Completion Gate",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/completion_gate",
  "capabilities": [
    "google-apps-script-web",
    "web",
    "google-meet-stage",
    "mcp-apps"
  ],
  "description": "Renders a locked placeholder card until the specified module id is marked complete in progress_store. Once complete, the gate disappears to reveal content below it. Use to sequence content and prevent skipping.",
  "representativeQueries": [
    "show a content lock \u2014 hides until requires module id is complete in progress_store",
    "renders a locked placeholder card until the specified module id is marked complete in progress_store",
    "render a completion gate"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. 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 a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →