{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "echo-reel-footer-demo",
  "type": "registry:block",
  "title": "Echo Reel: Footer Wordmark",
  "description": "Rotating Text Headline example, Footer Wordmark: A studio's footer whose wordmark turns to whichever link you point at or tab to, and back to the name when you leave. A take on the text animation (text effect). Fits hero, pricing and footer sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "hero",
    "pricing",
    "footer",
    "text-animation",
    "text",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/echo-reel#echo-reel-footer-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/echo-reel.json"
  ],
  "files": [
    {
      "path": "components/echo-reel-footer-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { EchoReel } from \"@/components/ui/echo-reel\";\n\nconst BRAND = \"Fieldwork\";\nconst LINKS = [\n  { label: \"Work\", href: \"#work\" },\n  { label: \"Studio\", href: \"#studio\" },\n  { label: \"Journal\", href: \"#journal\" },\n  { label: \"Contact\", href: \"#contact\" },\n];\nconst WORDS = [BRAND, ...LINKS.map((link) => link.label)];\n\nexport function EchoReelFooterDemo() {\n  const [word, setWord] = React.useState(0);\n  const back = React.useRef<number | undefined>(undefined);\n\n  const show = (index: number) => {\n    window.clearTimeout(back.current);\n    setWord(index);\n  };\n  // Wait a beat before going back to the name, so moving between links\n  // doesn't turn the reel twice.\n  const release = () => {\n    window.clearTimeout(back.current);\n    back.current = window.setTimeout(() => setWord(0), 250);\n  };\n\n  React.useEffect(() => () => window.clearTimeout(back.current), []);\n\n  return (\n    <footer className=\"w-full max-w-4xl overflow-hidden rounded-3xl border border-[#0b0b0d]/10 bg-white px-5 pt-8 pb-5 text-[#0b0b0d] sm:px-10 dark:border-white/10 dark:bg-[#07080c] dark:text-[#f4f4f6]\">\n      <div className=\"flex flex-wrap items-start justify-between gap-x-10 gap-y-6\">\n        <div className=\"max-w-[17rem]\">\n          <p className=\"flex items-center gap-2 text-sm font-semibold tracking-tight\">\n            <span aria-hidden className=\"size-2.5 rounded-full bg-[#c6ff4f] ring-1 ring-[#0b0b0d]/15 dark:ring-0\" />\n            Fieldwork Studio\n          </p>\n          <p className=\"mt-2 text-sm leading-relaxed text-[#0b0b0d]/60 dark:text-[#f4f4f6]/60\">\n            Brand, product and type for companies that ship. Lisbon and remote.\n          </p>\n          <a\n            href=\"#contact\"\n            className=\"mt-3 inline-block rounded text-sm font-medium underline decoration-[#0b0b0d]/25 underline-offset-4 hover:decoration-current focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current dark:decoration-[#f4f4f6]/30\"\n          >\n            hello@fieldwork.studio\n          </a>\n        </div>\n\n        <nav aria-label=\"Footer\" onPointerLeave={release} onBlur={release}>\n          <ul className=\"grid grid-cols-2 gap-x-10 gap-y-1 text-sm font-medium\">\n            {LINKS.map((link, i) => (\n              <li key={link.href}>\n                <a\n                  href={link.href}\n                  onPointerEnter={() => show(i + 1)}\n                  onFocus={() => show(i + 1)}\n                  className=\"-mx-1.5 inline-flex rounded-md px-1.5 py-1 text-[#0b0b0d]/70 transition-colors duration-150 hover:text-[#0b0b0d] focus-visible:outline-2 focus-visible:outline-current dark:text-[#f4f4f6]/70 dark:hover:text-[#c6ff4f]\"\n                >\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </nav>\n      </div>\n\n      <EchoReel\n        words={WORDS}\n        value={word}\n        onValueChange={(index) => setWord(index)}\n        interval={false}\n        className=\"mt-8 text-[#0b0b0d] dark:text-[#c6ff4f]\"\n      />\n\n      <div className=\"mt-3 flex flex-wrap items-center justify-between gap-2 border-t border-[#0b0b0d]/10 pt-4 text-xs text-[#0b0b0d]/55 dark:border-white/10 dark:text-[#f4f4f6]/50\">\n        <span>© 2026 Fieldwork Studio Lda.</span>\n        <a href=\"#top\" className=\"rounded hover:text-current focus-visible:outline-2 focus-visible:outline-current\">\n          Back to top ↑\n        </a>\n      </div>\n    </footer>\n  );\n}\n"
    }
  ]
}