Count Up Stat

A stat number that counts up from zero to the target value using a cubic ease function on page load. Auto-plays — no user interaction required.

Surfaces
apps-script-webwebmeet-stage
Fields
FieldType
valueinteger. Target number to count to.required
labelstring. Descriptor shown below the number.optional
prefixstring. Text before the number (e.g. "$").optional
suffixstring. Text after the number (e.g. "%", "k").optional
colourstring. Glow colour. Defaultoptional
durationinteger. Count-up duration ms. Default 1800.optional
sizestring. Font-size. Default 4rem.optional
Example payload
{
  "type": "count_up_stat",
  "value": 1
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:count_up_stat",
  "displayName": "Count Up Stat",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/count_up_stat",
  "capabilities": [
    "apps-script-web",
    "web",
    "meet-stage"
  ],
  "description": "A stat number that counts up from zero to the target value using a cubic ease function on page load. Auto-plays \u2014 no user interaction required.",
  "representativeQueries": [
    "show a animated count-up number stat with cubic ease, auto-plays on load",
    "a stat number that counts up from zero to the target value using a cubic ease function on page load.",
    "render a count up stat"
  ]
}
← 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 →