Skip to content

Write HTML. Render video. Built for agents.

2.2 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "zoom-through-transition",
  "type": "hyperframes:component",
  "title": "Zoom Through Transition",
  "description": "A transition that zooms through a focal card into the next scene.",
  "tags": ["transition-primitive"],
  "variables": [
    {
      "id": "from-label",
      "type": "string",
      "role": "content",
      "label": "Outgoing label",
      "description": "Caption on the outgoing scene, the one on screen when the transition starts.",
      "default": "Before"
    },
    {
      "id": "to-label",
      "type": "string",
      "role": "content",
      "label": "Incoming label",
      "description": "Caption on the incoming scene, the one the timeline wipes into frame.",
      "default": "Zoom Through Transition"
    },
    {
      "id": "depth",
      "type": "enum",
      "role": "motion",
      "label": "Depth",
      "description": "Multiplies how far both scenes travel and how hard the outgoing one blurs, so the push covers 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": "accent",
      "type": "enum",
      "role": "style",
      "label": "Accent",
      "description": "Theme token for the ring marking the incoming scene. Blue rides --accent, green --brand, violet --accent-2; each falls back to a neutral hairline.",
      "default": "blue",
      "options": [
        {
          "value": "blue",
          "label": "Blue"
        },
        {
          "value": "green",
          "label": "Green"
        },
        {
          "value": "violet",
          "label": "Violet"
        }
      ]
    }
  ],
  "files": [
    {
      "path": "zoom-through-transition.html",
      "target": "compositions/components/zoom-through-transition.html",
      "type": "hyperframes:snippet"
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/zoom-through-transition.png"
  }
}