A "Show hint" disclosure button that expands to reveal help text. Built on the HTML details/summary element — no JavaScript required. The summary label toggles between "Show hint" and "Hide hint". Styled with a subtle left-border accent and muted background to visually separate it from body content.
| Surface | Note |
|---|---|
| googlechat | Renders as a plain text block with no toggle — hint always visible |
| Renders as a static tinted block with hint always visible | |
| details/summary not reliably supported — renders hint as always-visible indented block |
| Field | Type | |
|---|---|---|
| hint | string. The hint text revealed on expand. | required |
| label | string. Button label. Default "Show hint". | optional |
| accent | string. Left-border and icon colour. Default "#6366f1". | optional |
{
"type": "hint_reveal",
"hint": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:hint_reveal",
"displayName": "Hint Reveal",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/hint_reveal",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "A \"Show hint\" disclosure button that expands to reveal help text. Built on the HTML details/summary element \u2014 no JavaScript required. The summary label toggles between \"Show hint\" and \"Hide hint\". Styled with a subtle left-border accent and muted background to visually separate it from body content.",
"representativeQueries": [
"show a show/hide hint disclosure using HTML details/summary \u2014 no JS",
"a \"show hint\" disclosure button that expands to reveal help text. built on the html details/summary",
"render a hint reveal"
]
}
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 →