Skip to content

Write HTML. Render video. Built for agents.

2.0 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "bottom-up-letters",
  "type": "hyperframes:component",
  "title": "Bottom Up Letters",
  "description": "Splits text into letters and reveals each glyph from below with deterministic staggered timing",
  "tags": ["motion-primitive", "text", "letters", "reveal"],
  "files": [
    {
      "path": "bottom-up-letters.html",
      "target": "compositions/components/bottom-up-letters.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "unit",
      "type": "enum",
      "role": "content",
      "label": "Split unit",
      "description": "What each animated span holds. Letter staggers glyph by glyph, word keeps whole words intact.",
      "default": "letter",
      "options": [
        {
          "value": "letter",
          "label": "Letter"
        },
        {
          "value": "word",
          "label": "Word"
        }
      ]
    },
    {
      "id": "direction",
      "type": "enum",
      "role": "motion",
      "label": "Direction",
      "description": "Where each span starts. Up starts below the baseline and rises, down starts above and drops.",
      "default": "up",
      "options": [
        {
          "value": "up",
          "label": "Up"
        },
        {
          "value": "down",
          "label": "Down"
        }
      ]
    },
    {
      "id": "travel",
      "type": "enum",
      "role": "motion",
      "label": "Travel",
      "description": "How far each span starts from its resting position, from 0.45em to 1.5em.",
      "default": "standard",
      "options": [
        {
          "value": "close",
          "label": "Close"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "far",
          "label": "Far"
        }
      ]
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/bottom-up-letters.png"
  }
}