Renders a menu that appears when a trigger element is hovered or focused.
| Field | Type | |
|---|---|---|
| trigger_text | string | required |
| menu_items | list of objects with label, url | required |
{
"type": "css_dropdown_menu",
"trigger_text": "Click to trigger",
"menu_items": [
{
"label": "Dashboard"
},
{
"label": "Settings"
},
{
"label": "Help"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:css_dropdown_menu",
"displayName": "Css Dropdown Menu",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/css_dropdown_menu",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "Renders a menu that appears when a trigger element is hovered or focused.",
"representativeQueries": [
"show a pure-CSS dropdown navigation menu",
"renders a menu that appears when a trigger element is hovered or focused.",
"render a css dropdown menu"
]
}
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 →