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": "oversized-cursor",
  "type": "hyperframes:component",
  "title": "Oversized Cursor",
  "description": "The look-here pointer for a video: the macOS arrow at 3.5x its normal size lands its tip on one control, clicks it on, settles just below it so the result stays in view, then exits off-screen",
  "tags": ["cursor", "motion-primitive", "actor", "pointer", "interaction"],
  "files": [
    {
      "path": "oversized-cursor.html",
      "target": "compositions/components/oversized-cursor.html",
      "type": "hyperframes:snippet"
    }
  ],
  "jobs": ["demonstrate"],
  "family": "pointers",
  "profile": "interaction",
  "evidence": "spec ready (oversized-cursor SKILL.md); actor file mechanics compose",
  "variables": [
    {
      "id": "cursor_variant",
      "type": "enum",
      "role": "style",
      "label": "Cursor fill",
      "default": "light",
      "options": [
        { "value": "light", "label": "Light (white body)" },
        { "value": "dark", "label": "Dark (near-black body)" }
      ]
    },
    {
      "id": "target_x",
      "type": "number",
      "role": "layout",
      "label": "Target X",
      "default": 55,
      "min": 15,
      "max": 85,
      "step": 1,
      "unit": "%"
    },
    {
      "id": "target_y",
      "type": "number",
      "role": "layout",
      "label": "Target Y",
      "default": 55,
      "min": 15,
      "max": 85,
      "step": 1,
      "unit": "%"
    },
    {
      "id": "click_label",
      "type": "string",
      "role": "content",
      "label": "Click label",
      "default": "Generate"
    },
    {
      "id": "exit",
      "type": "enum",
      "role": "timing",
      "label": "Exit",
      "description": "Optional whole-stage departure. Default none: the ignited target stays until the frame cuts.",
      "default": "none",
      "options": [
        { "value": "none", "label": "None" },
        { "value": "fade", "label": "Fade" },
        { "value": "up", "label": "Up" }
      ]
    }
  ]
}