{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-pointer-wordmark",
  "type": "registry:component",
  "title": "Footer Pointer Wordmark",
  "description": "A dark footer that ends in a huge outlined wordmark whose letters stretch upward and fill with color as the pointer passes over them, with a light pool following the cursor. At rest the letters breathe in a slow wave.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "footer",
    "footer",
    "wordmark",
    "pointer",
    "typography",
    "interactive",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/footer-pointer-wordmark",
  "files": [
    {
      "path": "registry/hyperblur/footer-pointer-wordmark.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/footer-pointer-wordmark.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface FooterPointerWordmarkLink {\n  label: string;\n  href: string;\n}\n\nexport interface FooterPointerWordmarkGroup {\n  title: string;\n  links: FooterPointerWordmarkLink[];\n}\n\nexport interface FooterPointerWordmarkProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  wordmark?: string;\n  tagline?: string;\n  groups?: FooterPointerWordmarkGroup[];\n  contact?: FooterPointerWordmarkLink;\n  legal?: FooterPointerWordmarkLink[];\n  copyright?: string;\n  radius?: number;\n  lift?: number;\n  accent?: string;\n}\n\nconst css = `\n.hb-wc1 {\n  --hb-wc1-accent: #8b5cf6;\n  --hb-wc1-mx: 50%;\n  --hb-wc1-my: 80%;\n  container-type: inline-size;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  overflow: hidden;\n  isolation: isolate;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-wc1 *, .hb-wc1 *::before, .hb-wc1 *::after { box-sizing: border-box; }\n.hb-wc1::before {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  z-index: -1;\n  background: radial-gradient(520px circle at var(--hb-wc1-mx) var(--hb-wc1-my), color-mix(in srgb, var(--hb-wc1-accent) 18%, transparent), transparent 70%);\n  opacity: .7;\n  transition: opacity .5s ease;\n  pointer-events: none;\n}\n.hb-wc1[data-live=\"true\"]::before { opacity: 1; }\n.hb-wc1-inner { max-width: 1180px; margin: 0 auto; padding: 72px 24px 0; }\n.hb-wc1-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }\n.hb-wc1-lead { display: grid; gap: 22px; align-content: start; max-width: 380px; }\n.hb-wc1-tag { margin: 0; font-family: var(--font-grotesk), var(--font-sans), sans-serif; font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: #ededed; }\n.hb-wc1-contact {\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  width: max-content;\n  padding: 10px 14px 10px 16px;\n  border: 1px solid rgba(255, 255, 255, .1);\n  border-radius: 999px;\n  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);\n  color: #ededed;\n  font-size: 14px;\n  font-weight: 550;\n  text-decoration: none;\n  transition: border-color .25s ease, background .25s ease;\n}\n.hb-wc1-contact:hover { border-color: color-mix(in srgb, var(--hb-wc1-accent) 60%, transparent); background: color-mix(in srgb, var(--hb-wc1-accent) 14%, transparent); }\n.hb-wc1-contact:focus-visible, .hb-wc1-link:focus-visible, .hb-wc1-legal a:focus-visible { outline: 2px solid var(--hb-wc1-accent); outline-offset: 3px; border-radius: 6px; }\n.hb-wc1-contact svg { width: 14px; height: 14px; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }\n.hb-wc1-contact:hover svg { transform: translate(2px, -2px); }\n.hb-wc1-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }\n.hb-wc1-gt { margin: 0 0 14px; color: #6f6f6f; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }\n.hb-wc1-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }\n.hb-wc1-link { position: relative; color: #b4b4b4; font-size: 14px; text-decoration: none; transition: color .2s ease; }\n.hb-wc1-link::after {\n  content: \"\";\n  position: absolute;\n  left: 0;\n  right: 0;\n  bottom: -3px;\n  height: 1px;\n  background: var(--hb-wc1-accent);\n  transform: scaleX(0);\n  transform-origin: right;\n  transition: transform .35s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-wc1-link:hover { color: #fff; }\n.hb-wc1-link:hover::after { transform: scaleX(1); transform-origin: left; }\n.hb-wc1-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 0; color: #6f6f6f; font-size: 13px; }\n.hb-wc1-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }\n.hb-wc1-legal a { color: #8f8f8f; text-decoration: none; transition: color .2s ease; }\n.hb-wc1-legal a:hover { color: #ededed; }\n.hb-wc1-mark {\n  position: relative;\n  display: flex;\n  justify-content: space-between;\n  align-items: flex-end;\n  margin: 0 auto;\n  padding: 0 12px;\n  max-width: 1400px;\n  height: clamp(110px, 24cqi, 330px);\n  overflow: hidden;\n  font-family: var(--font-grotesk), var(--font-sans), sans-serif;\n  font-size: clamp(72px, 19.5cqi, 280px);\n  font-weight: 700;\n  line-height: .78;\n  letter-spacing: -.06em;\n  user-select: none;\n  touch-action: pan-y;\n}\n.hb-wc1-ch {\n  --hb-wc1-p: 0;\n  position: relative;\n  display: inline-block;\n  transform-origin: 50% 100%;\n  transform: translateY(calc(18% - var(--hb-wc1-p) * 18%)) scaleY(calc(1 + var(--hb-wc1-p) * var(--hb-wc1-lift, .32)));\n  color: transparent;\n  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);\n  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--hb-wc1-accent) 70%, #fff) 55%, var(--hb-wc1-accent) 100%);\n  background-clip: text;\n  -webkit-background-clip: text;\n  background-size: 100% 300%;\n  background-position: 0 calc(100% - var(--hb-wc1-p) * 100%);\n  transition: transform .5s cubic-bezier(.2, .9, .25, 1.15), background-position .5s ease, -webkit-text-stroke-color .4s ease;\n  will-change: transform;\n}\n.hb-wc1[data-live=\"false\"] .hb-wc1-ch { animation: hb-wc1-idle 6s cubic-bezier(.45, 0, .25, 1) infinite; animation-delay: calc(var(--hb-wc1-i) * -.42s); }\n.hb-wc1-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, #0a0a0a); pointer-events: none; }\n.hb-wc1-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n@keyframes hb-wc1-idle {\n  0%, 100% { transform: translateY(18%) scaleY(1); }\n  50% { transform: translateY(8%) scaleY(1.08); background-position: 0 70%; }\n}\n@container (min-width: 720px) {\n  .hb-wc1-inner { padding: 96px 40px 0; }\n  .hb-wc1-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; padding-bottom: 64px; }\n  .hb-wc1-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }\n  .hb-wc1-tag { font-size: 30px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-wc1-ch, .hb-wc1::before, .hb-wc1-link::after, .hb-wc1-contact svg { transition: none; animation: none !important; }\n}\n`;\n\nconst defaultGroups: FooterPointerWordmarkGroup[] = [\n  { title: \"Product\", links: [{ label: \"Canvas\", href: \"#\" }, { label: \"Timelines\", href: \"#\" }, { label: \"Integrations\", href: \"#\" }, { label: \"Changelog\", href: \"#\" }] },\n  { title: \"Studio\", links: [{ label: \"About\", href: \"#\" }, { label: \"Careers\", href: \"#\" }, { label: \"Press kit\", href: \"#\" }, { label: \"Contact\", href: \"#\" }] },\n  { title: \"Resources\", links: [{ label: \"Docs\", href: \"#\" }, { label: \"Templates\", href: \"#\" }, { label: \"Community\", href: \"#\" }, { label: \"Status\", href: \"#\" }] },\n];\n\nconst defaultLegal: FooterPointerWordmarkLink[] = [\n  { label: \"Privacy\", href: \"#\" },\n  { label: \"Terms\", href: \"#\" },\n  { label: \"Cookies\", href: \"#\" },\n];\n\nexport function FooterPointerWordmark({\n  wordmark = \"Velora\",\n  tagline = \"Plan the work, see the whole picture, and ship it with your team.\",\n  groups = defaultGroups,\n  contact = { label: \"hello@velora.studio\", href: \"mailto:hello@velora.studio\" },\n  legal = defaultLegal,\n  copyright = \"© 2026 Velora Labs, Inc.\",\n  radius = 0.22,\n  lift = 0.32,\n  accent = \"#8b5cf6\",\n  className = \"\",\n  style,\n  ...rest\n}: FooterPointerWordmarkProps) {\n  const root = React.useRef<HTMLElement>(null);\n  const letters = React.useRef<(HTMLSpanElement | null)[]>([]);\n  const frame = React.useRef(0);\n  const [live, setLive] = React.useState(false);\n  const chars = Array.from(wordmark);\n\n  React.useEffect(() => () => cancelAnimationFrame(frame.current), []);\n\n  const reset = () => {\n    letters.current.forEach((el) => el?.style.setProperty(\"--hb-wc1-p\", \"0\"));\n    setLive(false);\n  };\n\n  const move = (e: React.PointerEvent<HTMLElement>) => {\n    if (e.pointerType === \"touch\") return;\n    if (window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches) return;\n    const x = e.clientX;\n    const y = e.clientY;\n    if (!live) setLive(true);\n    cancelAnimationFrame(frame.current);\n    frame.current = requestAnimationFrame(() => {\n      const el = root.current;\n      if (!el) return;\n      const r = el.getBoundingClientRect();\n      el.style.setProperty(\"--hb-wc1-mx\", `${(x - r.left).toFixed(0)}px`);\n      el.style.setProperty(\"--hb-wc1-my\", `${(y - r.top).toFixed(0)}px`);\n      const reach = Math.max(80, r.width * radius);\n      letters.current.forEach((ch) => {\n        if (!ch) return;\n        const b = ch.getBoundingClientRect();\n        const d = Math.abs(x - (b.left + b.width / 2));\n        const p = Math.max(0, 1 - d / reach);\n        const eased = p * p * (3 - 2 * p);\n        ch.style.setProperty(\"--hb-wc1-p\", eased.toFixed(3));\n      });\n    });\n  };\n\n  const vars = { \"--hb-wc1-accent\": accent, \"--hb-wc1-lift\": lift, ...style } as React.CSSProperties;\n\n  return (\n    <footer ref={root} className={`hb-wc1 ${className}`} style={vars} data-live={live ? \"true\" : \"false\"} onPointerMove={move} onPointerLeave={reset} {...rest}>\n      <style href=\"hb-footer-pointer-wordmark\" precedence=\"default\">{css}</style>\n      <div className=\"hb-wc1-inner\">\n        <div className=\"hb-wc1-top\">\n          <div className=\"hb-wc1-lead\">\n            <p className=\"hb-wc1-tag\">{tagline}</p>\n            {contact ? (\n              <a className=\"hb-wc1-contact\" href={contact.href}>\n                {contact.label}\n                <svg viewBox=\"0 0 14 14\" aria-hidden=\"true\">\n                  <path d=\"M4 10l6-6M5 4h5v5\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.6\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n                </svg>\n              </a>\n            ) : null}\n          </div>\n          <nav className=\"hb-wc1-groups\" aria-label=\"Footer\">\n            {groups.map((g) => (\n              <div key={g.title}>\n                <p className=\"hb-wc1-gt\">{g.title}</p>\n                <ul className=\"hb-wc1-list\">\n                  {g.links.map((l) => (\n                    <li key={l.label}>\n                      <a className=\"hb-wc1-link\" href={l.href}>{l.label}</a>\n                    </li>\n                  ))}\n                </ul>\n              </div>\n            ))}\n          </nav>\n        </div>\n        <div className=\"hb-wc1-bar\">\n          <span>{copyright}</span>\n          <ul className=\"hb-wc1-legal\">\n            {legal.map((l) => (\n              <li key={l.label}>\n                <a href={l.href}>{l.label}</a>\n              </li>\n            ))}\n          </ul>\n        </div>\n      </div>\n      <div className=\"hb-wc1-mark\" aria-hidden=\"true\">\n        {chars.map((c, i) => (\n          <span\n            key={`${c}-${i}`}\n            ref={(el) => {\n              letters.current[i] = el;\n            }}\n            className=\"hb-wc1-ch\"\n            style={{ \"--hb-wc1-i\": i } as React.CSSProperties}\n          >\n            {c === \" \" ? \" \" : c}\n          </span>\n        ))}\n        <span className=\"hb-wc1-fade\" />\n      </div>\n      <span className=\"hb-wc1-sr\">{wordmark}</span>\n    </footer>\n  );\n}\n"
    }
  ]
}