Files
hyperframes/registry/components/headline-slam/registry-item.json
T
Miguel Ángel 9734578e60 feat(registry): bring back the video-primitive moves (#3169)
Restores the 208 catalog items reverted after their previews 404'd in
production, this time on the payload mechanism rather than the .html files
that caused the outage.

The generator no longer writes a preview document to docs/public. That writer,
and the machinery under it, existed only to produce files the docs host
discards, so it is gone rather than bypassed. Items now embed the composition
itself via a payload, which is what the previous change already does for the
items that were already in the catalog.

The variables explorer is parked, not restored: it drove its preview through
the same unpublished .html path, so it would have shown an empty frame. Items
that declare variables get the live player plus the static variables table, and
reconnecting the explorer to payloads is a follow-up.
2026-08-10 18:46:03 -04:00

61 lines
1.8 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "headline-slam",
"type": "hyperframes:component",
"title": "Headline Slam",
"description": "A heavyweight headline scales down into frame, lands with a deterministic three-frame shake, holds with subtle drift, and whips upward on exit.",
"tags": ["motion-primitive", "typography", "headline", "slam", "impact", "exit"],
"jobs": ["emphasize"],
"family": "typography",
"profile": "impact",
"evidence": "Wave F U3 headline-slam specification",
"syncPoints": [{ "id": "impact", "phase": "in", "offset": 0.58 }],
"files": [
{
"path": "headline-slam.html",
"target": "compositions/components/headline-slam.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "text",
"type": "string",
"role": "content",
"label": "Headline",
"description": "Text displayed as the headline.",
"default": "Ship it today"
},
{
"id": "accent_word_index",
"type": "number",
"role": "content",
"label": "Accent word index",
"description": "Zero-based word index to color. Out of range leaves the headline unaccented.",
"default": 1,
"step": 1
},
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Color applied to the selected word.",
"default": "green",
"options": [
{ "value": "green", "label": "Green" },
{ "value": "blue", "label": "Blue" },
{ "value": "violet", "label": "Violet" }
]
},
{
"id": "shadow",
"type": "boolean",
"role": "style",
"label": "Shadow",
"description": "Drop shadow cast under the headline. On by default; set false for a flat matte look.",
"default": true
}
]
}