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": "cta-close",
  "type": "hyperframes:component",
  "title": "CTA Close",
  "description": "A display-scale action line lands per word and fills the frame with air, one generous CTA capsule pops beneath it with a single overshoot, and the finished close holds completely still.",
  "tags": ["motion-primitive", "ui-props", "cta", "end-card", "close", "ask"],
  "jobs": ["ask"],
  "family": "ui-props",
  "profile": "holdable",
  "evidence": "Wave I I7 cta-close specification",
  "syncPoints": [{ "id": "close-settled", "phase": "in", "offset": 1.32 }],
  "files": [
    {
      "path": "cta-close.html",
      "target": "compositions/components/cta-close.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "action_line",
      "type": "string",
      "role": "content",
      "label": "Action line",
      "description": "Two to four word action that closes the film.",
      "default": "Make it happen"
    },
    {
      "id": "button_label",
      "type": "string",
      "role": "content",
      "label": "Button label",
      "description": "Text displayed inside the single CTA capsule.",
      "default": "Start now"
    },
    {
      "id": "accent",
      "type": "enum",
      "role": "style",
      "label": "Accent",
      "description": "Contract color used by the CTA capsule.",
      "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 lockup holds until the frame cuts (this primitive closes films).",
      "default": "none",
      "options": [
        { "value": "none", "label": "None" },
        { "value": "fade", "label": "Fade" },
        { "value": "up", "label": "Up" }
      ]
    }
  ]
}