Files
hyperframes/registry/components/tabs-slide-indicator/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

69 lines
2.1 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "tabs-slide-indicator",
"type": "hyperframes:component",
"title": "Tabs Slide Indicator",
"description": "A pill indicator transition that slides between active tabs",
"tags": ["transition-primitive", "transitions-dev-port", "tabs", "indicator"],
"files": [
{
"path": "tabs-slide-indicator.html",
"target": "compositions/components/tabs-slide-indicator.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Fill of the sliding pill. ink is literal; the rest ride the composition theme tokens.",
"default": "ink",
"options": [
{ "value": "ink", "label": "Ink" },
{ "value": "green", "label": "Green" },
{ "value": "blue", "label": "Blue" },
{ "value": "violet", "label": "Violet" }
]
},
{
"id": "width",
"type": "enum",
"role": "layout",
"label": "Tab width",
"description": "Width of one tab. The slide the timeline drives is scaled to match, so the pill still lands on the next tab.",
"default": "standard",
"options": [
{ "value": "compact", "label": "Compact" },
{ "value": "standard", "label": "Standard" },
{ "value": "wide", "label": "Wide" }
]
},
{
"id": "shape",
"type": "enum",
"role": "style",
"label": "Shape",
"description": "Corner radius of the track and the pill.",
"default": "pill",
"options": [
{ "value": "pill", "label": "Pill" },
{ "value": "rounded", "label": "Rounded" },
{ "value": "square", "label": "Square" }
]
},
{
"id": "labels",
"type": "string",
"role": "content",
"label": "Labels",
"description": "The tab names, separated by commas. Two or more names rebuild the row.",
"default": "Plan,Debug,Ask"
}
],
"preview": {
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tabs-slide-indicator.png"
}
}