Skip to content

Write HTML. Render video. Built for agents.

1.6 KB
Raw Blame
{
  "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
  "name": "text-shimmer",
  "type": "hyperframes:component",
  "title": "Text Shimmer",
  "description": "A static headline receives one clean specular gradient sweep through its glyphs, then returns to its ordinary text color.",
  "tags": ["motion-primitive", "text-effects", "shimmer", "specular", "emphasis"],
  "jobs": ["emphasize"],
  "family": "text-effects",
  "profile": "drift",
  "evidence": "design-inspiration/INDEX.md and viral-micro-interactions.md, animated text shimmer by jhey Tan",
  "files": [
    {
      "path": "text-shimmer.html",
      "target": "compositions/components/text-shimmer.html",
      "type": "hyperframes:snippet"
    }
  ],
  "variables": [
    {
      "id": "text",
      "type": "string",
      "role": "content",
      "label": "Headline",
      "description": "Text receiving the single shimmer pass.",
      "default": "Effortless"
    },
    {
      "id": "accent",
      "type": "enum",
      "role": "style",
      "label": "Accent",
      "description": "Hue of the specular shimmer band.",
      "default": "green",
      "options": [
        { "value": "green", "label": "Green" },
        { "value": "blue", "label": "Blue" },
        { "value": "violet", "label": "Violet" }
      ]
    },
    {
      "id": "sweep_at",
      "type": "number",
      "role": "timing",
      "label": "Sweep start",
      "description": "Requested start time for the shimmer sweep.",
      "default": 1.2,
      "min": 0.2,
      "max": 2,
      "step": 0.1,
      "unit": "s"
    }
  ]
}