{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-giant-wordmark",
  "type": "registry:component",
  "title": "Footer Giant Wordmark",
  "description": "A minimal footer with a statement, an email link and a compact link row, ending in an enormous wordmark that spans the full width, fades out at the bottom and rises letter by letter when it scrolls into view.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "footer",
    "footer",
    "wordmark",
    "minimal",
    "typography",
    "reveal",
    "brand"
  ],
  "docs": "https://hyperblur.dev/effects/footer-giant-wordmark",
  "files": [
    {
      "path": "registry/hyperblur/footer-giant-wordmark.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/footer-giant-wordmark.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface FooterGiantWordmarkLink {\n  label: string;\n  href: string;\n}\n\nexport interface FooterGiantWordmarkProps extends Omit<React.HTMLAttributes<HTMLElement>, \"children\"> {\n  wordmark?: string;\n  statement?: string;\n  email?: string;\n  links?: FooterGiantWordmarkLink[];\n  socials?: FooterGiantWordmarkLink[];\n  legal?: FooterGiantWordmarkLink[];\n  location?: string;\n  copyright?: string;\n  accent?: string;\n}\n\nconst css = `\n.hb-ke6 {\n  --hb-ke6-accent: #f5a524;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  overflow: hidden;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-ke6 *, .hb-ke6 *::before, .hb-ke6 *::after { box-sizing: border-box; }\n.hb-ke6::before {\n  content: \"\";\n  position: absolute;\n  left: 50%;\n  bottom: -30%;\n  width: 90%;\n  height: 70%;\n  background: radial-gradient(closest-side, color-mix(in srgb, var(--hb-ke6-accent) 12%, transparent), transparent);\n  transform: translateX(-50%);\n  pointer-events: none;\n}\n.hb-ke6-in { position: relative; max-width: 1120px; margin: 0 auto; padding: 80px 24px 0; }\n.hb-ke6-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }\n.hb-ke6-st { margin: 0; max-width: 420px; font-size: clamp(22px, 3.2cqi, 30px); font-weight: 550; letter-spacing: -.025em; line-height: 1.15; }\n.hb-ke6-st span { color: #6f6f6f; }\n.hb-ke6-mail {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  margin-top: 16px;\n  color: #ededed;\n  font-size: 15px;\n  text-decoration: none;\n  border-bottom: 1px solid rgba(255,255,255,.2);\n  padding-bottom: 3px;\n  transition: border-color .2s ease, color .2s ease;\n}\n.hb-ke6-mail:hover { color: var(--hb-ke6-accent); border-color: var(--hb-ke6-accent); }\n.hb-ke6-mail svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s cubic-bezier(.2,.8,.2,1); }\n.hb-ke6-mail:hover svg { transform: translate(2px, -2px); }\n.hb-ke6-links { display: flex; flex-wrap: wrap; gap: 4px 4px; margin: 0; padding: 0; list-style: none; }\n.hb-ke6-link {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  height: 34px;\n  padding: 0 12px;\n  border-radius: 999px;\n  color: #a1a1a1;\n  font-size: 14px;\n  text-decoration: none;\n  transition: color .18s ease, background-color .18s ease;\n}\n.hb-ke6-link:hover { color: #ededed; background: rgba(255,255,255,.06); }\n.hb-ke6-meta {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 10px 24px;\n  margin-top: 36px;\n  padding: 18px 0;\n  border-top: 1px solid rgba(255,255,255,.08);\n  color: #6f6f6f;\n  font-size: 13px;\n}\n.hb-ke6-meta ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }\n.hb-ke6-meta a { color: #8f8f8f; text-decoration: none; transition: color .15s ease; }\n.hb-ke6-meta a:hover { color: #ededed; }\n.hb-ke6-loc { display: inline-flex; align-items: center; gap: 8px; }\n.hb-ke6-loc i { width: 6px; height: 6px; border-radius: 50%; background: var(--hb-ke6-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hb-ke6-accent) 20%, transparent); }\n.hb-ke6-soc { margin-left: auto; }\n.hb-ke6 a:focus-visible { outline: 2px solid var(--hb-ke6-accent); outline-offset: 2px; border-radius: 6px; }\n.hb-ke6-word {\n  display: flex;\n  justify-content: space-between;\n  margin: 8px 0 0;\n  font-size: min(calc((100cqi - 48px) / var(--hb-ke6-n) * 1.5), 300px);\n  font-weight: 700;\n  line-height: .8;\n  letter-spacing: -.02em;\n  white-space: nowrap;\n  user-select: none;\n  -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.35) 62%, transparent 92%);\n  mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.35) 62%, transparent 92%);\n  margin-bottom: -.12em;\n}\n.hb-ke6-l {\n  display: inline-block;\n  padding-top: .06em;\n  color: #ececec;\n  opacity: 0;\n  translate: 0 55%;\n  transition: color .35s ease, transform .5s cubic-bezier(.3,1.5,.5,1);\n}\n.hb-ke6-word[data-in=\"true\"] .hb-ke6-l { animation: hb-ke6-rise 1.1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--hb-ke6-i) * 70ms); }\n.hb-ke6-l:hover { color: var(--hb-ke6-accent); transform: translateY(-5%); }\n@keyframes hb-ke6-rise { from { opacity: 0; translate: 0 55%; } to { opacity: 1; translate: 0 0; } }\n@container (max-width: 640px) {\n  .hb-ke6-in { padding: 56px 16px 0; }\n  .hb-ke6-word { font-size: min(calc((100cqi - 32px) / var(--hb-ke6-n) * 1.5), 300px); }\n  .hb-ke6-soc { margin-left: 0; }\n  .hb-ke6-links { margin-left: -12px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-ke6 *, .hb-ke6 *::before, .hb-ke6 *::after { animation: none !important; transition: none !important; }\n  .hb-ke6-l { opacity: 1; translate: none; }\n}\n`;\n\nconst defaultLinks: FooterGiantWordmarkLink[] = [\n  { label: \"Product\", href: \"#\" },\n  { label: \"Pricing\", href: \"#\" },\n  { label: \"Changelog\", href: \"#\" },\n  { label: \"Journal\", href: \"#\" },\n  { label: \"Careers\", href: \"#\" },\n  { label: \"Contact\", href: \"#\" },\n];\n\nconst defaultSocials: FooterGiantWordmarkLink[] = [\n  { label: \"X\", href: \"#\" },\n  { label: \"GitHub\", href: \"#\" },\n  { label: \"Instagram\", href: \"#\" },\n];\n\nconst defaultLegal: FooterGiantWordmarkLink[] = [\n  { label: \"Privacy\", href: \"#\" },\n  { label: \"Terms\", href: \"#\" },\n];\n\nexport function FooterGiantWordmark({\n  wordmark = \"nimbus\",\n  statement = \"Quiet software for loud weeks.\",\n  email = \"hello@nimbus.so\",\n  links = defaultLinks,\n  socials = defaultSocials,\n  legal = defaultLegal,\n  location = \"Lisbon, working everywhere\",\n  copyright = \"© 2026 Nimbus Software, Inc.\",\n  accent = \"#f5a524\",\n  className = \"\",\n  style,\n  ...rest\n}: FooterGiantWordmarkProps) {\n  const wordRef = React.useRef<HTMLDivElement>(null);\n  const letters = Array.from(wordmark);\n  const split = statement.indexOf(\" \", Math.floor(statement.length / 2));\n\n  React.useEffect(() => {\n    const node = wordRef.current;\n    if (!node) return;\n    if (typeof IntersectionObserver === \"undefined\") {\n      node.dataset.in = \"true\";\n      return;\n    }\n    const io = new IntersectionObserver(\n      (entries) => {\n        if (entries.some((e) => e.isIntersecting)) {\n          node.dataset.in = \"true\";\n          io.disconnect();\n        }\n      },\n      { threshold: 0.2 },\n    );\n    io.observe(node);\n    return () => io.disconnect();\n  }, []);\n\n  return (\n    <footer className={`hb-ke6 ${className}`} style={{ \"--hb-ke6-accent\": accent, ...style } as React.CSSProperties} {...rest}>\n      <style href=\"hb-footer-giant-wordmark\" precedence=\"default\">\n        {css}\n      </style>\n      <div className=\"hb-ke6-in\">\n        <div className=\"hb-ke6-top\">\n          <div>\n            <p className=\"hb-ke6-st\">\n              {split > 0 ? (\n                <>\n                  {statement.slice(0, split)}\n                  <span>{statement.slice(split)}</span>\n                </>\n              ) : (\n                statement\n              )}\n            </p>\n            {email && (\n              <a href={`mailto:${email}`} className=\"hb-ke6-mail\">\n                {email}\n                <svg viewBox=\"0 0 14 14\" aria-hidden=\"true\">\n                  <path d=\"M4 10l6-6M5 4h5v5\" />\n                </svg>\n              </a>\n            )}\n          </div>\n          <nav aria-label=\"Footer\">\n            <ul className=\"hb-ke6-links\">\n              {links.map((link) => (\n                <li key={link.label}>\n                  <a href={link.href} className=\"hb-ke6-link\">\n                    {link.label}\n                  </a>\n                </li>\n              ))}\n            </ul>\n          </nav>\n        </div>\n        <div className=\"hb-ke6-meta\">\n          <span>{copyright}</span>\n          {location && (\n            <span className=\"hb-ke6-loc\">\n              <i aria-hidden=\"true\" />\n              {location}\n            </span>\n          )}\n          <ul aria-label=\"Legal\">\n            {legal.map((link) => (\n              <li key={link.label}>\n                <a href={link.href}>{link.label}</a>\n              </li>\n            ))}\n          </ul>\n          <ul className=\"hb-ke6-soc\" aria-label=\"Social\">\n            {socials.map((link) => (\n              <li key={link.label}>\n                <a href={link.href} target=\"_blank\" rel=\"noopener noreferrer\">\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </div>\n        <div\n          ref={wordRef}\n          className=\"hb-ke6-word\"\n          role=\"img\"\n          aria-label={wordmark}\n          style={{ \"--hb-ke6-n\": Math.max(letters.length, 3) } as React.CSSProperties}\n        >\n          {letters.map((ch, i) => (\n            <span key={`${ch}-${i}`} className=\"hb-ke6-l\" aria-hidden=\"true\" style={{ \"--hb-ke6-i\": i } as React.CSSProperties}>\n              {ch === \" \" ? \" \" : ch}\n            </span>\n          ))}\n        </div>\n      </div>\n    </footer>\n  );\n}\n"
    }
  ]
}