mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +00:00
81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"$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"
|
|
}
|
|
}
|