Skip to content

Write HTML. Render video. Built for agents.

2.4 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "per-word-rise",
  "type": "hyperframes:component",
  "title": "Per Word Rise",
  "description": "Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit).",
  "tags": ["motion-primitive", "text-effects", "typography", "stagger", "reveal"],
  "jobs": ["reveal"],
  "family": "text-effects",
  "profile": "stagger",
  "evidence": "Wave I I1 approved contract build, merging the per-word and SplitTypeReveal candidates",
  "syncPoints": [{ "id": "rise-settle", "phase": "in", "offset": 1.45 }],
  "files": [
    {
      "path": "per-word-rise.html",
      "target": "compositions/components/per-word-rise.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "text",
      "type": "string",
      "role": "content",
      "label": "Text",
      "description": "Text whose words or characters rise into place.",
      "default": "WORDS IN MOTION"
    },
    {
      "id": "split",
      "type": "enum",
      "role": "content",
      "label": "Split",
      "description": "Animate the text as words or individual characters.",
      "default": "word",
      "options": [
        { "value": "word", "label": "Word" },
        { "value": "char", "label": "Character" }
      ]
    },
    {
      "id": "cues",
      "type": "string",
      "role": "timing",
      "label": "Cues",
      "description": "Comma-separated seconds (from mount start) for each unit landing. Empty keeps the authored cascade rhythm.",
      "default": ""
    },
    {
      "id": "accent",
      "type": "enum",
      "role": "style",
      "label": "Accent",
      "description": "Contract accent token used for the text color.",
      "default": "green",
      "options": [
        { "value": "green", "label": "Green" },
        { "value": "blue", "label": "Blue" },
        { "value": "violet", "label": "Violet" }
      ]
    },
    {
      "id": "exit",
      "type": "enum",
      "role": "timing",
      "label": "Exit",
      "description": "Optional departure. Default none: the line holds until the frame cuts.",
      "default": "none",
      "options": [
        { "value": "none", "label": "None" },
        { "value": "fade", "label": "Fade" },
        { "value": "up", "label": "Up" }
      ]
    }
  ]
}