Skip to content

Write HTML. Render video. Built for agents.

1.8 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "top-down-letters",
  "type": "hyperframes:component",
  "title": "Top-Down Letters",
  "description": "Letters descend from above in a pronounced staircase with zero blur.",
  "tags": ["video-primitive", "motion-primitive", "typography"],
  "files": [
    {
      "path": "top-down-letters.html",
      "target": "compositions/components/top-down-letters.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "text",
      "type": "string",
      "role": "content",
      "label": "Text",
      "description": "Word that cascades in. Every character becomes one letter span, in source order.",
      "default": "CASCADE"
    },
    {
      "id": "distance",
      "type": "enum",
      "role": "motion",
      "label": "Distance",
      "description": "Multiplies the drop the timeline drives, so the letters cover a shorter or longer run in the same time.",
      "default": "standard",
      "options": [
        {
          "value": "close",
          "label": "Close"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "far",
          "label": "Far"
        }
      ]
    },
    {
      "id": "tone",
      "type": "enum",
      "role": "style",
      "label": "Tone",
      "description": "Letter colour: ink for light frames, paper for dark ones, accent rides --brand.",
      "default": "ink",
      "options": [
        {
          "value": "ink",
          "label": "Ink"
        },
        {
          "value": "paper",
          "label": "Paper"
        },
        {
          "value": "accent",
          "label": "Accent"
        }
      ]
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/top-down-letters.png"
  }
}