{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-card-wall",
  "type": "registry:component",
  "title": "Hero Card Wall",
  "description": "Five columns of integration cards scroll in alternating directions on a tilted 3D plane behind the copy, some lit and syncing. The wall fades into the page under the headline.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "hero",
    "hero",
    "marquee",
    "integrations",
    "3d",
    "cards",
    "saas"
  ],
  "docs": "https://hyperblur.dev/effects/hero-card-wall",
  "files": [
    {
      "path": "registry/hyperblur/hero-card-wall.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/hero-card-wall.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface HeroCardWallAction {\n  label: string;\n  href: string;\n}\n\nexport interface HeroCardWallItem {\n  name: string;\n  detail: string;\n  color: string;\n  stat?: string;\n}\n\nexport interface HeroCardWallProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  count?: string;\n  title?: string;\n  subtitle?: string;\n  primaryCta?: HeroCardWallAction | null;\n  secondaryCta?: HeroCardWallAction | null;\n  items?: HeroCardWallItem[];\n  accent?: string;\n  speed?: number;\n  headingAs?: \"h1\" | \"h2\";\n}\n\nconst css = `\n.hb-vb8 {\n  --hb-vb8-accent: #2f7bff;\n  --hb-vb8-sp: 1;\n  position: relative;\n  box-sizing: border-box;\n  display: flex;\n  align-items: center;\n  width: 100%;\n  min-height: 620px;\n  overflow: hidden;\n  isolation: isolate;\n  container-type: inline-size;\n  background: #08080a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-vb8 *, .hb-vb8 *::before, .hb-vb8 *::after { box-sizing: border-box; }\n.hb-vb8-scene {\n  position: absolute;\n  top: 50%;\n  left: 58%;\n  z-index: -2;\n  width: 900px;\n  height: 1100px;\n  margin: -550px 0 0 -260px;\n  perspective: 1400px;\n  pointer-events: none;\n}\n.hb-vb8-plane {\n  display: grid;\n  grid-template-columns: repeat(5, 200px);\n  gap: 16px;\n  height: 100%;\n  transform: rotateX(46deg) rotateZ(-32deg) translateZ(-60px);\n  transform-style: preserve-3d;\n}\n.hb-vb8-col { overflow: hidden; }\n.hb-vb8-track {\n  display: flex;\n  flex-direction: column;\n  gap: 16px;\n  animation: hb-vb8-scroll calc(var(--hb-vb8-dur) / var(--hb-vb8-sp)) linear infinite;\n  animation-direction: var(--hb-vb8-dir);\n}\n@keyframes hb-vb8-scroll {\n  from { transform: translate3d(0, 0, 0); }\n  to { transform: translate3d(0, calc(-50% - 8px), 0); }\n}\n.hb-vb8-card {\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  gap: 14px;\n  height: 150px;\n  padding: 16px;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 16px;\n  background: linear-gradient(160deg, #18181b, #0f0f11);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -20px rgba(0, 0, 0, .9);\n}\n.hb-vb8-card[data-lit] {\n  border-color: color-mix(in srgb, var(--hb-vb8-accent) 55%, transparent);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 40px -10px color-mix(in srgb, var(--hb-vb8-accent) 70%, transparent);\n}\n.hb-vb8-head { display: flex; align-items: center; gap: 10px; }\n.hb-vb8-icon {\n  display: grid;\n  place-items: center;\n  width: 36px;\n  height: 36px;\n  border-radius: 10px;\n  background: linear-gradient(140deg, color-mix(in srgb, var(--hb-vb8-c) 90%, #ffffff), var(--hb-vb8-c));\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -6px var(--hb-vb8-c);\n  color: #fff;\n  font-family: var(--font-grotesk, inherit);\n  font-size: 15px;\n  font-weight: 700;\n}\n.hb-vb8-name { color: #f5f5f5; font-size: 14px; font-weight: 600; }\n.hb-vb8-state { display: block; color: rgba(237, 237, 237, .45); font-size: 11px; }\n.hb-vb8-detail { margin: 0; color: rgba(237, 237, 237, .55); font-size: 12px; line-height: 1.45; }\n.hb-vb8-stat { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: rgba(237, 237, 237, .4); font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; }\n.hb-vb8-toggle { position: relative; width: 26px; height: 15px; border-radius: 99px; background: rgba(255, 255, 255, .1); }\n.hb-vb8-toggle::after { content: \"\"; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .5); }\n.hb-vb8-card[data-lit] .hb-vb8-toggle { background: var(--hb-vb8-accent); }\n.hb-vb8-card[data-lit] .hb-vb8-toggle::after { left: 13px; background: #fff; }\n.hb-vb8-fade {\n  position: absolute;\n  inset: 0;\n  z-index: -1;\n  background:\n    linear-gradient(90deg, #08080a 0%, #08080a 30%, rgba(8, 8, 10, .82) 46%, rgba(8, 8, 10, 0) 68%),\n    linear-gradient(180deg, #08080a 0%, rgba(8, 8, 10, 0) 18%, rgba(8, 8, 10, 0) 82%, #08080a 100%);\n  pointer-events: none;\n}\n.hb-vb8-copy { position: relative; max-width: 500px; padding: 60px clamp(20px, 6cqi, 72px); }\n.hb-vb8-in { animation: hb-vb8-up .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--hb-vb8-d, 0ms); }\n@keyframes hb-vb8-up {\n  from { opacity: 0; transform: translate3d(0, 14px, 0); }\n  to { opacity: 1; transform: none; }\n}\n.hb-vb8-eyebrow {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  margin: 0;\n  color: rgba(237, 237, 237, .6);\n  font-size: 13px;\n}\n.hb-vb8-count {\n  padding: 3px 8px;\n  border-radius: 99px;\n  background: color-mix(in srgb, var(--hb-vb8-accent) 18%, transparent);\n  color: color-mix(in srgb, var(--hb-vb8-accent) 50%, #ffffff);\n  font-family: var(--font-mono, ui-monospace, monospace);\n  font-size: 11.5px;\n}\n.hb-vb8-title {\n  margin: 18px 0 0;\n  color: #f5f5f5;\n  font-size: clamp(36px, 5.6cqi, 60px);\n  font-weight: 640;\n  line-height: 1.02;\n  letter-spacing: -.045em;\n  text-wrap: balance;\n}\n.hb-vb8-sub { margin: 18px 0 0; color: rgba(237, 237, 237, .58); font-size: clamp(14.5px, 1.7cqi, 16.5px); line-height: 1.55; }\n.hb-vb8-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }\n.hb-vb8-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  min-height: 46px;\n  padding: 0 22px;\n  border: 1px solid rgba(255, 255, 255, .14);\n  border-radius: 999px;\n  color: #ededed;\n  font: inherit;\n  font-size: 15px;\n  font-weight: 550;\n  text-decoration: none;\n  white-space: nowrap;\n  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s ease, border-color .25s ease;\n}\n.hb-vb8-btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }\n.hb-vb8-btn:active { transform: scale(.98); }\n.hb-vb8-btn:focus-visible { outline: 2px solid var(--hb-vb8-accent); outline-offset: 3px; }\n.hb-vb8-btn[data-primary] { border-color: transparent; background: #f5f5f5; color: #0a0a0a; }\n.hb-vb8-btn[data-primary]:hover { background: #ffffff; }\n.hb-vb8-btn svg { transition: transform .25s ease; }\n.hb-vb8-btn:hover svg { transform: translateX(2px); }\n@container (max-width: 680px) {\n  .hb-vb8 { align-items: flex-end; }\n  .hb-vb8-scene { left: 50%; top: 20%; margin-left: -450px; }\n  .hb-vb8-fade { background: linear-gradient(180deg, rgba(8, 8, 10, .2) 0%, rgba(8, 8, 10, .6) 35%, #08080a 62%); }\n  .hb-vb8-copy { padding-top: 220px; }\n}\n@container (max-width: 480px) {\n  .hb-vb8-actions { flex-direction: column; align-items: stretch; }\n  .hb-vb8-btn { justify-content: center; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-vb8-track, .hb-vb8-in { animation: none; }\n  .hb-vb8-btn, .hb-vb8-btn svg { transition: none; }\n}\n`;\n\nconst defaultItems: HeroCardWallItem[] = [\n  { name: \"Relay\", detail: \"Post deal alerts to #revenue the moment they close.\", color: \"#9b5cf6\", stat: \"2.1k syncs\" },\n  { name: \"Ledgerly\", detail: \"Mirror invoices, refunds and disputes in real time.\", color: \"#6366f1\", stat: \"48 events/s\" },\n  { name: \"Trackline\", detail: \"Turn customer feedback into triaged issues.\", color: \"#5e6ad2\", stat: \"312 issues\" },\n  { name: \"Beacon\", detail: \"Keep contact owners aligned across both CRMs.\", color: \"#f97316\", stat: \"18k records\" },\n  { name: \"Pagewell\", detail: \"Publish weekly metrics to a shared page.\", color: \"#71717a\", stat: \"Every Mon\" },\n  { name: \"Tablestore\", detail: \"Stream changes from any table with row filters.\", color: \"#0ea5e9\", stat: \"6 tables\" },\n  { name: \"Cartwheel\", detail: \"Sync orders and fulfillment across stores.\", color: \"#22c55e\", stat: \"940 orders\" },\n  { name: \"Helpdeck\", detail: \"Attach account health to every ticket.\", color: \"#14b8a6\", stat: \"1.2k tickets\" },\n  { name: \"Repoly\", detail: \"Link releases to the deals they unblock.\", color: \"#a1a1aa\", stat: \"86 repos\" },\n  { name: \"Gridbase\", detail: \"Two-way sync with field-level conflict rules.\", color: \"#eab308\", stat: \"24 bases\" },\n  { name: \"Sketchpad\", detail: \"Notify reviewers when a file changes status.\", color: \"#ec4899\", stat: \"41 files\" },\n  { name: \"Icefield\", detail: \"Load clean events into your warehouse hourly.\", color: \"#38bdf8\", stat: \"3.4 TB\" },\n  { name: \"Chatwell\", detail: \"Route conversations by plan and region.\", color: \"#3b82f6\", stat: \"570 chats\" },\n  { name: \"Mailroom\", detail: \"Log threads to the right account automatically.\", color: \"#ef4444\", stat: \"9.8k emails\" },\n  { name: \"Sprintly\", detail: \"Keep sprint status visible to customer teams.\", color: \"#2563eb\", stat: \"128 epics\" },\n];\n\nconst columnSpec = [\n  { dur: \"38s\", dir: \"normal\" },\n  { dur: \"30s\", dir: \"reverse\" },\n  { dur: \"44s\", dir: \"normal\" },\n  { dur: \"34s\", dir: \"reverse\" },\n  { dur: \"40s\", dir: \"normal\" },\n];\n\nconst defaultPrimary: HeroCardWallAction = { label: \"Connect your stack\", href: \"#\" };\nconst defaultSecondary: HeroCardWallAction = { label: \"Browse integrations\", href: \"#\" };\n\nfunction d(ms: number) {\n  return { \"--hb-vb8-d\": `${ms}ms` } as React.CSSProperties;\n}\n\nexport function HeroCardWall({\n  eyebrow = \"integrations, and counting\",\n  count = \"300+\",\n  title = \"Plug into the tools your team already loves\",\n  subtitle = \"Relaybase keeps your apps in sync with two-way connectors, field-level rules and a full audit trail. Setup takes minutes, not sprints.\",\n  primaryCta = defaultPrimary,\n  secondaryCta = defaultSecondary,\n  items = defaultItems,\n  accent = \"#2f7bff\",\n  speed = 1,\n  headingAs = \"h1\",\n  className = \"\",\n  style,\n  ...rest\n}: HeroCardWallProps) {\n  const Heading = headingAs;\n  const vars = { \"--hb-vb8-accent\": accent, \"--hb-vb8-sp\": Math.max(speed, 0.1), ...style } as React.CSSProperties;\n  const pool = items.length ? items : defaultItems;\n\n  return (\n    <section className={`hb-vb8 ${className}`} style={vars} {...rest}>\n      <style href=\"hb-hero-card-wall\" precedence=\"default\">{css}</style>\n      <div className=\"hb-vb8-scene\" aria-hidden=\"true\">\n        <div className=\"hb-vb8-plane\">\n          {columnSpec.map((col, c) => {\n            const cards = Array.from({ length: 6 }, (_, i) => pool[(c * 3 + i * 2) % pool.length]);\n            return (\n              <div key={c} className=\"hb-vb8-col\">\n                <div className=\"hb-vb8-track\" style={{ \"--hb-vb8-dur\": col.dur, \"--hb-vb8-dir\": col.dir } as React.CSSProperties}>\n                  {cards.concat(cards).map((item, i) => (\n                    <div\n                      key={i}\n                      className=\"hb-vb8-card\"\n                      data-lit={(c + i) % 4 === 1 ? \"\" : undefined}\n                      style={{ \"--hb-vb8-c\": item.color } as React.CSSProperties}\n                    >\n                      <div className=\"hb-vb8-head\">\n                        <span className=\"hb-vb8-icon\">{item.name.charAt(0)}</span>\n                        <span>\n                          <span className=\"hb-vb8-name\">{item.name}</span>\n                          <span className=\"hb-vb8-state\">{(c + i) % 4 === 1 ? \"Syncing\" : \"Connected\"}</span>\n                        </span>\n                      </div>\n                      <p className=\"hb-vb8-detail\">{item.detail}</p>\n                      <div className=\"hb-vb8-stat\">\n                        <span>{item.stat ?? \"\"}</span>\n                        <span className=\"hb-vb8-toggle\" />\n                      </div>\n                    </div>\n                  ))}\n                </div>\n              </div>\n            );\n          })}\n        </div>\n      </div>\n      <div className=\"hb-vb8-fade\" aria-hidden=\"true\" />\n      <div className=\"hb-vb8-copy\">\n        {eyebrow ? (\n          <p className=\"hb-vb8-eyebrow hb-vb8-in\" style={d(40)}>\n            {count ? <span className=\"hb-vb8-count\">{count}</span> : null}\n            {eyebrow}\n          </p>\n        ) : null}\n        <Heading className=\"hb-vb8-title hb-vb8-in\" style={d(130)}>\n          {title}\n        </Heading>\n        {subtitle ? (\n          <p className=\"hb-vb8-sub hb-vb8-in\" style={d(230)}>\n            {subtitle}\n          </p>\n        ) : null}\n        {primaryCta || secondaryCta ? (\n          <div className=\"hb-vb8-actions hb-vb8-in\" style={d(330)}>\n            {primaryCta ? (\n              <a className=\"hb-vb8-btn\" data-primary=\"\" href={primaryCta.href}>\n                {primaryCta.label}\n                <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                  <path d=\"M5 12h14M13 6l6 6-6 6\" />\n                </svg>\n              </a>\n            ) : null}\n            {secondaryCta ? (\n              <a className=\"hb-vb8-btn\" href={secondaryCta.href}>\n                {secondaryCta.label}\n              </a>\n            ) : null}\n          </div>\n        ) : null}\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}