Animated Border Card

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.

Surfaces
webmeet-stageapps-script-web
Degraded on
SurfaceNote
pdfRenders as a static card with a solid border; animation not captured
googlechatCSS animation not supported; renders as a plain card
Fields
FieldType
titlestring. Card heading.optional
bodystring. Card body content (markdown inline formatting supported).required
accentstring. Primary border gradient colour. Default "#38bdf8".optional
accent2string. Secondary border gradient colour. Default "#818cf8".optional
backgroundstring. Inner card background colour. Default "#ffffff".optional
speed"slow" | "normal" | "fast" (optional, default "normal")optional
border_widthinteger. Border thickness in px. Default 2.optional
Example payload
{
  "type": "animated_border_card",
  "body": "A concise description of the content."
}
ARD catalog entry
{
  "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"
  ]
}
← 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 →