Card with a continuously rotating gradient border, created by a spinning conic-gradient pseudo-element — no JavaScript. Two accent colours blend through the border. Inner content area has a solid background. Ideal for highlighting key facts, announcements, or featured atoms in a catalogue.
| Surface | Note |
|---|---|
| Renders as a static card with a solid border; animation not captured | |
| googlechat | CSS animation not supported; renders as a plain card |
| Field | Type | |
|---|---|---|
| title | string. Card heading. | optional |
| body | string. Card body content (markdown inline formatting supported). | required |
| accent | string. Primary border gradient colour. Default "#38bdf8". | optional |
| accent2 | string. Secondary border gradient colour. Default "#818cf8". | optional |
| background | string. Inner card background colour. Default "#ffffff". | optional |
| speed | "slow" | "normal" | "fast" (optional, default "normal") | optional |
| border_width | integer. Border thickness in px. Default 2. | optional |
{
"type": "animated_border_card",
"body": "A concise description of the content."
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:animated_border_card",
"displayName": "Animated Border Card",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/animated_border_card",
"capabilities": [
"web",
"meet-stage",
"apps-script-web"
],
"description": "Card with a continuously rotating gradient border, created by a spinning conic-gradient pseudo-element \u2014 no JavaScript. Two accent colours blend through the border. Inner content area has a solid background. Ideal for highlighting key facts, announcements, or featured atoms in a catalogue.",
"representativeQueries": [
"show a card with CSS rotating gradient animated border",
"card with a continuously rotating gradient border, created by a spinning conic-gradient pseudo-eleme",
"render a animated border card"
]
}
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 →