Skip to content

Write HTML. Render video. Built for agents.

2.7 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "success-check",
  "type": "hyperframes:component",
  "title": "Success Check",
  "description": "A success check primitive with ring pop, path draw, and subtle rotate blur",
  "tags": ["video-primitive", "transition-primitive", "transitions-dev-port", "success", "check"],
  "files": [
    {
      "path": "success-check.html",
      "target": "compositions/components/success-check.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "tint",
      "type": "enum",
      "role": "style",
      "label": "Tint",
      "description": "Colour pair, a pale halo behind a saturated mark. green and amber are literal state colours; blue and violet ride the composition theme tokens.",
      "default": "green",
      "options": [
        {
          "value": "green",
          "label": "Green"
        },
        {
          "value": "blue",
          "label": "Blue"
        },
        {
          "value": "violet",
          "label": "Violet"
        },
        {
          "value": "amber",
          "label": "Amber"
        }
      ]
    },
    {
      "id": "size",
      "type": "enum",
      "role": "layout",
      "label": "Size",
      "description": "Diameter of the halo and of the mark inside it.",
      "default": "standard",
      "options": [
        {
          "value": "small",
          "label": "Small"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "large",
          "label": "Large"
        }
      ]
    },
    {
      "id": "ring",
      "type": "enum",
      "role": "style",
      "label": "Ring",
      "description": "Opacity of the circle the tick sits in.",
      "default": "standard",
      "options": [
        {
          "value": "subtle",
          "label": "Subtle"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "bold",
          "label": "Bold"
        }
      ]
    },
    {
      "id": "spin",
      "type": "enum",
      "role": "motion",
      "label": "Spin",
      "description": "Multiplies the rotation the timeline drives, so the mark swings less or more into place.",
      "default": "standard",
      "options": [
        {
          "value": "subtle",
          "label": "Subtle"
        },
        {
          "value": "standard",
          "label": "Standard"
        },
        {
          "value": "bold",
          "label": "Bold"
        }
      ]
    }
  ],
  "preview": {
    "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/success-check.png"
  }
}