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": "separator",
  "type": "hyperframes:component",
  "title": "Separator",
  "description": "A one-pixel structural separator with horizontal and vertical variants plus a seek-safe progress reveal",
  "tags": ["video-primitive", "separator", "layout"],
  "files": [
    {
      "path": "separator.html",
      "target": "compositions/components/separator.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "orientation",
      "type": "enum",
      "role": "layout",
      "label": "Orientation",
      "description": "Which way the rule runs, and so which way the reveal travels.",
      "default": "horizontal",
      "options": [
        {
          "value": "horizontal",
          "label": "Horizontal"
        },
        {
          "value": "vertical",
          "label": "Vertical"
        }
      ]
    },
    {
      "id": "thickness",
      "type": "enum",
      "role": "style",
      "label": "Thickness",
      "description": "Size of the rule across its short edge, from a 1px hairline to a 4px bar.",
      "default": "hairline",
      "options": [
        {
          "value": "hairline",
          "label": "Hairline"
        },
        {
          "value": "medium",
          "label": "Medium"
        },
        {
          "value": "bold",
          "label": "Bold"
        }
      ]
    },
    {
      "id": "tone",
      "type": "enum",
      "role": "style",
      "label": "Tone",
      "description": "Colour of the revealed fill: neutral grey, the theme accent, or the warning hue.",
      "default": "neutral",
      "options": [
        {
          "value": "neutral",
          "label": "Neutral"
        },
        {
          "value": "accent",
          "label": "Accent"
        },
        {
          "value": "warning",
          "label": "Warning"
        }
      ]
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/separator.png"
  }
}