Skip to content

Write HTML. Render video. Built for agents.

2.2 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "dynamic-grid",
  "type": "hyperframes:component",
  "title": "Dynamic Grid",
  "description": "A responsive animated grid background driven by CSS variables for SaaS, code, and data scenes",
  "tags": ["video-primitive", "motion-primitive", "background", "grid", "ui"],
  "files": [
    {
      "path": "dynamic-grid.html",
      "target": "compositions/components/dynamic-grid.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "density",
      "type": "enum",
      "role": "style",
      "label": "Density",
      "description": "Cell size of the grid: fine reads as graph paper, coarse as a few large panels.",
      "default": "standard",
      "options": [
        {
          "value": "fine",
          "label": "Fine"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "coarse",
          "label": "Coarse"
        }
      ]
    },
    {
      "id": "weight",
      "type": "enum",
      "role": "style",
      "label": "Weight",
      "description": "Thickness of the grid lines, from a hairline rule to a bold structural grid.",
      "default": "hairline",
      "options": [
        {
          "value": "hairline",
          "label": "Hairline"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "bold",
          "label": "Bold"
        }
      ]
    },
    {
      "id": "tone",
      "type": "enum",
      "role": "style",
      "label": "Tone",
      "description": "Line colour: neutral is the translucent white the original ships with, and the accents ride --brand, --accent and --accent-2.",
      "default": "neutral",
      "options": [
        {
          "value": "neutral",
          "label": "Neutral"
        },
        {
          "value": "green",
          "label": "Green"
        },
        {
          "value": "blue",
          "label": "Blue"
        },
        {
          "value": "violet",
          "label": "Violet"
        }
      ]
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/dynamic-grid.png"
  }
}