Reelify Motion Kit 0.1 preview

MomentStat data

A full-frame number: it counts up huge, a rule draws under it, a line says what it is. For a figure the speaker says out loud.

Props#

PropTypeDefaultNotes
valuenumber0
labelstring""
prefixstring""
suffixstring""
wordstring""the figure as the speaker says it, when it is not plain digits ("a billion"): shown instead of the count
inkcolor"ink"
onstring"page"the surface it sits on
frameWnumberits width, when it is not the whole frame
frameHnumberits height, when it is not the whole frame

* required. Every node also takes the common props: id, motion, start, place, scale, rotate, opacity, w, h. A colour is a palette name, never a value.

Parts#

Named parts can be restyled from outside without making a new component: "parts": { "root": { … } }.

PartIs a
rootbox
pagebox
valuetext
ruleshape
labeltext

Example#

as a node in a scene
{"el": "MomentStat", "value": 20, "suffix": " years", "label": "of doing this by hand"}

How it is made#

This component is plain data. Its whole definition is the tree below: copy it into a scene's components list under a new name to make your own version. See Custom components.

its tree
{
  "el": "box",
  "id": "page",
  "surface": "$on",
  "w": "$frameW",
  "h": "$frameH",
  "gap": 40,
  "align": "center",
  "justify": "center",
  "motion": [{"do": "enter", "from": {"opacity": 0, "scale": 1.05}, "curve": "smooth"}],
  "children": [
    {
      "el": "text",
      "id": "value",
      "text": {"$if": "$word", "then": "$word", "else": "0"},
      "size": {"$if": "$word", "then": "=frameW*0.19", "else": "=frameW*0.27"},
      "weight": 900,
      "color": "accent",
      "glow": "accent",
      "align": "center",
      "maxW": "=frameW-160",
      "motion": {
        "$if": "$word",
        "then": [{"do": "enter", "from": "pop", "curve": "bouncy"}],
        "else": [
          {"do": "enter", "from": "pop", "curve": "bouncy"},
          {
            "do": "count",
            "to": "$value",
            "prefix": "$prefix",
            "suffix": "$suffix",
            "delay": 0.1,
            "curve": {"ease": "outExpo", "duration": 1.1}
          }
        ]
      }
    },
    {
      "el": "shape",
      "id": "rule",
      "kind": "rect",
      "w": "=frameW*0.36",
      "h": 10,
      "radius": 5,
      "fill": "accent2",
      "origin": "left",
      "motion": [{"do": "draw", "delay": 0.35, "curve": "snap"}]
    },
    {
      "el": "text",
      "id": "label",
      "text": "$label",
      "size": "=frameW*0.055",
      "weight": 700,
      "color": "$ink",
      "align": "center",
      "maxW": "=frameW-220",
      "motion": [
        {
          "do": "enter",
          "from": {"y": 36, "opacity": 0, "blur": 6},
          "delay": 0.5,
          "curve": "smooth"
        }
      ]
    }
  ]
}
Reelify Motion Kit 0.1 preview. Built 2026-11-21.llms.txt · SKILL.md · 109 pages