Number Flip

Slot-machine style digit reveal. Each digit flips in from above on load.

Surfaces
gaswebmeet-stageapps-script-web
Fields
FieldType
valuethe number or string to display (required)required
prefixtext before the numberrequired
suffixtext after the numberrequired
labelcaption belowrequired
sizefont-size CSS value (default 3rem)required
colordigit colour (default var(--a2ui-accent))required
durationtotal animation window in ms (default 1200)required
aligncenter (default), leftrequired
Example payload
{
  "type": "number_flip",
  "value": 1,
  "prefix": 1,
  "suffix": 1,
  "label": "Number Flip"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:number_flip",
  "displayName": "Number Flip",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/number_flip",
  "capabilities": [
    "gas",
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "",
  "representativeQueries": [
    "show a Slot-machine style digit reveal. Each digit flips in from above on load",
    "render a number flip"
  ]
}
← 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 →