Number Odometer

Slot-machine style digit-by-digit flip animation where each digit column independently scrolls to its target value using staggered CSS translateY keyframes. Distinct from animated_counter which counts up sequentially — this flips each digit column independently.

Surfaces
webmeet-stageapps-script-web
Degraded on
SurfaceNote
pdfRenders as static number; no animation
googlechatCSS animation not supported; renders as plain number
Fields
FieldType
valuestring. The target number to display e.g. "1337" or "42.5k".required
labelstring. Caption below the number.optional
colorstring. Digit colour. Default "#0f172a".optional
accentstring. Accent colour. Default "#4f46e5".optional
sizestring. Font size. Default "3rem".optional
durationnumber. Animation duration in seconds. Default 1.2.optional
Example payload
{
  "type": "number_odometer",
  "value": 1
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:number_odometer",
  "displayName": "Number Odometer",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/number_odometer",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Slot-machine style digit-by-digit flip animation where each digit column independently scrolls to its target value using staggered CSS translateY keyframes. Distinct from animated_counter which counts up sequentially \u2014 this flips each digit column independently.",
  "representativeQueries": [
    "show a Slot-machine digit-column flip to target number",
    "slot-machine style digit-by-digit flip animation where each digit column independently scrolls to it",
    "render a number odometer"
  ]
}
← 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 →