Skip to content

Write HTML. Render video. Built for agents.

1.9 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "hw-box-label",
  "type": "hyperframes:component",
  "title": "Hand-Drawn Box Label",
  "description": "Wobbled rounded rectangle draws on — across the authored stroke matrix (plain/soft/sharp/spray) — or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils",
  "tags": ["handwritten", "annotation", "overlay"],
  "files": [
    {
      "path": "hw-box-label.html",
      "target": "compositions/components/hw-box-label.html",
      "type": "hyperframes:snippet"
    },
    {
      "path": "assets/fonts/Caveat-700-latin.woff2",
      "target": "assets/fonts/Caveat-700-latin.woff2",
      "type": "hyperframes:asset"
    }
  ],
  "controls": [
    {
      "name": "entrance",
      "type": "variant",
      "values": ["draw", "drop"],
      "default": "draw",
      "drives": "how the box arrives: stroke draw-on + label fade, or the landing squash (drop-in, contact squash on the deform wrapper, label counter-scaled to net identity, bouncy spring recovery) — travel/duration derived, never exposed"
    },
    {
      "name": "strokeType",
      "type": "variant",
      "values": ["plain", "soft", "sharp", "spray"],
      "default": "plain",
      "drives": "authored stroke texture on the box path (per-type constants: blur, dry-marker dash, seeded spray dots); draw-on composes via the mask clone"
    },
    {
      "name": "labelPos",
      "type": "variant",
      "values": ["above", "inside"],
      "default": "above",
      "drives": "label placement: above the box or vertically centered inside it"
    },
    {
      "name": "boil",
      "type": "variant",
      "values": ["off", "calm", "lively"],
      "default": "calm",
      "drives": "boil amp/rot as authored pairs over the family-locked frameDrop 3; seed locked"
    }
  ]
}