Animated Counter

CSS @property counter animation that counts up from zero to target values without JavaScript. Uses @keyframes with CSS custom properties typed as integers. Each counter has a value, label, optional prefix/suffix, and color.

Surfaces
webapps-script-web
Degraded on
SurfaceNote
pdfRenders as static final values; no animation
meet-stageAnimation plays; @property support varies by browser version
Fields
FieldType
countersarray of objects with — value (integer), label, prefix, suffix, color (optional hex).optional
durationnumber. Animation duration in seconds. Default 2.optional
Example payload
{
  "type": "animated_counter"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:animated_counter",
  "displayName": "Animated Counter",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/animated_counter",
  "capabilities": [
    "web",
    "apps-script-web"
  ],
  "description": "CSS @property counter animation that counts up from zero to target values without JavaScript. Uses @keyframes with CSS custom properties typed as integers. Each counter has a value, label, optional prefix/suffix, and color.",
  "representativeQueries": [
    "show a CSS-only animated counter that counts up to target values",
    "css @property counter animation that counts up from zero to target values without javascript. uses @",
    "render a animated counter"
  ]
}
← 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 →