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": "line-by-line-slide",
  "type": "hyperframes:component",
  "title": "Line-by-Line Slide",
  "description": "Each line enters from the left with staggered slide and exits to the right.",
  "tags": ["motion-primitive", "typography"],
  "files": [
    {
      "path": "line-by-line-slide.html",
      "target": "compositions/components/line-by-line-slide.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "size",
      "type": "enum",
      "role": "layout",
      "label": "Size",
      "description": "Type size of the whole stack.",
      "default": "standard",
      "options": [
        {
          "value": "compact",
          "label": "Compact"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "display",
          "label": "Display"
        }
      ]
    },
    {
      "id": "tone",
      "type": "enum",
      "role": "style",
      "label": "Tone",
      "description": "Line colour: ink for light frames, paper for dark ones, accent rides the brand token.",
      "default": "ink",
      "options": [
        {
          "value": "ink",
          "label": "Ink"
        },
        {
          "value": "paper",
          "label": "Paper"
        },
        {
          "value": "accent",
          "label": "Accent"
        }
      ]
    },
    {
      "id": "density",
      "type": "enum",
      "role": "layout",
      "label": "Density",
      "description": "The gap between lines, from a tight block to an airy stack.",
      "default": "standard",
      "options": [
        {
          "value": "fine",
          "label": "Fine"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "coarse",
          "label": "Coarse"
        }
      ]
    },
    {
      "id": "direction",
      "type": "enum",
      "role": "motion",
      "label": "Direction",
      "description": "Which side the lines slide in from as the timeline drives the offset.",
      "default": "left",
      "options": [
        {
          "value": "left",
          "label": "Left"
        },
        {
          "value": "right",
          "label": "Right"
        }
      ]
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/line-by-line-slide.png"
  }
}