{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "proof-tilted-wall",
  "type": "registry:component",
  "title": "Proof Tilted Wall",
  "description": "Testimonial cards laid on a plane tilted in 3D perspective, with columns scrolling up and down at different speeds behind a headline and rating card. Key phrases are underlined in the accent and the wall pauses on hover.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "social-proof",
    "testimonials",
    "3d",
    "perspective",
    "wall of love",
    "marquee",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/proof-tilted-wall",
  "files": [
    {
      "path": "registry/hyperblur/proof-tilted-wall.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/proof-tilted-wall.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface TiltedWallReview {\n  quote: string;\n  name: string;\n  role: string;\n  highlight?: string;\n  rating?: number;\n}\n\nexport interface ProofTiltedWallProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  score?: string;\n  scoreNote?: string;\n  reviews?: TiltedWallReview[];\n  cta?: { label: string; href: string } | null;\n  columns?: number;\n  speed?: number;\n  accent?: string;\n}\n\nconst css = `\n.hb-wb1 {\n  --hb-wb1-accent: #8b5cf6;\n  --hb-wb1-speed: 46s;\n  box-sizing: border-box;\n  position: relative;\n  width: 100%;\n  overflow: hidden;\n  container-type: inline-size;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-wb1 *, .hb-wb1 *::before, .hb-wb1 *::after { box-sizing: border-box; }\n.hb-wb1::before {\n  content: \"\";\n  position: absolute;\n  inset: -20% -10% auto 30%;\n  height: 90%;\n  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--hb-wb1-accent) 26%, transparent), transparent 70%);\n  filter: blur(20px);\n  pointer-events: none;\n}\n.hb-wb1-wrap {\n  position: relative;\n  display: grid;\n  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);\n  align-items: center;\n  gap: 32px;\n  max-width: 1180px;\n  margin: 0 auto;\n  padding: 96px 24px;\n}\n.hb-wb1-copy { position: relative; z-index: 2; max-width: 440px; }\n.hb-wb1-eyebrow {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  margin: 0 0 20px;\n  color: #a1a1a1;\n  font-size: 12px;\n  font-weight: 600;\n  letter-spacing: .14em;\n  text-transform: uppercase;\n}\n.hb-wb1-eyebrow i {\n  width: 18px;\n  height: 1px;\n  background: var(--hb-wb1-accent);\n  box-shadow: 0 0 10px var(--hb-wb1-accent);\n}\n.hb-wb1-title {\n  margin: 0;\n  font-size: clamp(32px, 4.6cqw, 52px);\n  font-weight: 600;\n  line-height: 1.02;\n  letter-spacing: -.04em;\n  text-wrap: balance;\n}\n.hb-wb1-sub { margin: 18px 0 0; color: #8f8f8f; font-size: 16px; line-height: 1.6; }\n.hb-wb1-score {\n  display: flex;\n  align-items: center;\n  gap: 14px;\n  margin-top: 32px;\n  padding: 14px 16px;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 16px;\n  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);\n}\n.hb-wb1-score b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }\n.hb-wb1-score span { display: block; color: #8f8f8f; font-size: 13px; line-height: 1.45; }\n.hb-wb1-stars { display: flex; gap: 2px; margin-bottom: 3px; color: var(--hb-wb1-accent); }\n.hb-wb1-stars svg { width: 13px; height: 13px; }\n.hb-wb1-cta {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  margin-top: 24px;\n  color: #ededed;\n  font-size: 14px;\n  font-weight: 500;\n  text-decoration: none;\n  border-bottom: 1px solid rgba(255, 255, 255, .2);\n  padding-bottom: 3px;\n  transition: border-color .3s ease, gap .3s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-wb1-cta:hover { border-color: var(--hb-wb1-accent); gap: 12px; }\n.hb-wb1-cta:focus-visible { outline: 2px solid var(--hb-wb1-accent); outline-offset: 4px; border-radius: 2px; }\n.hb-wb1-stage {\n  position: relative;\n  height: 620px;\n  margin: -96px -24px -96px 0;\n  perspective: 1400px;\n  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 14%);\n  -webkit-mask-composite: source-in;\n  mask: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 14%);\n  mask-composite: intersect;\n}\n.hb-wb1-sr { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }\n.hb-wb1-plane {\n  position: absolute;\n  top: -30%;\n  left: 2%;\n  width: 118%;\n  height: 160%;\n  display: grid;\n  grid-template-columns: repeat(var(--hb-wb1-cols, 4), minmax(0, 1fr));\n  gap: 14px;\n  transform: rotateX(34deg) rotateY(-6deg) rotateZ(-18deg);\n  transform-style: preserve-3d;\n  transform-origin: 40% 50%;\n}\n.hb-wb1-col { position: relative; overflow: hidden; min-width: 0; }\n.hb-wb1-track {\n  display: flex;\n  flex-direction: column;\n  gap: 14px;\n  animation: hb-wb1-up var(--hb-wb1-speed) linear infinite;\n  will-change: transform;\n}\n.hb-wb1-col:nth-child(even) .hb-wb1-track { animation-name: hb-wb1-down; animation-duration: calc(var(--hb-wb1-speed) * 1.18); }\n.hb-wb1-col:nth-child(3) .hb-wb1-track { animation-duration: calc(var(--hb-wb1-speed) * .86); }\n.hb-wb1-stage:hover .hb-wb1-track { animation-play-state: paused; }\n.hb-wb1-card {\n  position: relative;\n  padding: 18px 18px 16px;\n  border: 1px solid rgba(255, 255, 255, .07);\n  border-radius: 16px;\n  background: linear-gradient(180deg, #161616, #101010);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 40px -24px rgba(0, 0, 0, .9);\n  transition: border-color .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-wb1-card:hover { border-color: color-mix(in srgb, var(--hb-wb1-accent) 50%, transparent); transform: translateZ(18px); }\n.hb-wb1-card .hb-wb1-stars svg { width: 11px; height: 11px; }\n.hb-wb1-q { margin: 10px 0 14px; color: #d4d4d4; font-size: 13.5px; line-height: 1.55; }\n.hb-wb1-q mark {\n  color: #fff;\n  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--hb-wb1-accent) 42%, transparent) 62%);\n}\n.hb-wb1-who { display: flex; align-items: center; gap: 10px; }\n.hb-wb1-av {\n  display: grid;\n  place-items: center;\n  flex: none;\n  width: 30px;\n  height: 30px;\n  border-radius: 50%;\n  color: #fff;\n  font-size: 11px;\n  font-weight: 600;\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);\n}\n.hb-wb1-who b { display: block; font-size: 12.5px; font-weight: 600; }\n.hb-wb1-who small { display: block; color: #8f8f8f; font-size: 11.5px; }\n@keyframes hb-wb1-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }\n@keyframes hb-wb1-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }\n@container (max-width: 860px) {\n  .hb-wb1-wrap { grid-template-columns: minmax(0, 1fr); padding: 72px 20px 0; gap: 8px; }\n  .hb-wb1-copy { max-width: 560px; }\n  .hb-wb1-stage { height: 460px; margin: 0 -20px; }\n  .hb-wb1-plane { --hb-wb1-cols: 3; left: -6%; width: 116%; }\n  .hb-wb1-col:nth-child(n+4) { display: none; }\n}\n@container (max-width: 480px) {\n  .hb-wb1-plane { --hb-wb1-cols: 2; width: 130%; left: -12%; }\n  .hb-wb1-col:nth-child(n+3) { display: none; }\n  .hb-wb1-stage { height: 400px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-wb1-track { animation: none; }\n  .hb-wb1-card, .hb-wb1-cta { transition: none; }\n  .hb-wb1-card:hover { transform: none; }\n}\n`;\n\nconst palette = [\n  [\"#8b5cf6\", \"#4c1d95\"],\n  [\"#f97316\", \"#9a3412\"],\n  [\"#10b981\", \"#065f46\"],\n  [\"#06b6d4\", \"#155e75\"],\n  [\"#f43f5e\", \"#9f1239\"],\n  [\"#eab308\", \"#854d0e\"],\n];\n\nconst defaultReviews: TiltedWallReview[] = [\n  { quote: \"We moved 40 services over in a weekend. The migration guide was better than our own docs.\", highlight: \"40 services over in a weekend\", name: \"Priya Raman\", role: \"Staff engineer, Lumen Freight\" },\n  { quote: \"Preview links on every pull request changed how design reviews happen here.\", highlight: \"Preview links on every pull request\", name: \"Tom Alder\", role: \"Design lead, Pinecrest\" },\n  { quote: \"Our p95 dropped from 840ms to 190ms without touching application code.\", highlight: \"840ms to 190ms\", name: \"Keiko Mori\", role: \"CTO, Halden Pay\" },\n  { quote: \"The bill went down and the on-call rotation got quiet. Rare combination.\", highlight: \"on-call rotation got quiet\", name: \"Marcus Bell\", role: \"SRE, Northfold\" },\n  { quote: \"Rollbacks take one click. I stopped dreading Friday deploys.\", highlight: \"Rollbacks take one click\", name: \"Ana Souza\", role: \"Platform, Copperline\" },\n  { quote: \"Support answered a routing question at 2am with a working config attached.\", highlight: \"at 2am with a working config\", name: \"Felix Brandt\", role: \"Founder, Tiller Labs\" },\n  { quote: \"Logs, traces and deploys in one timeline. Incidents read like a story now.\", highlight: \"Incidents read like a story\", name: \"Grace Okafor\", role: \"Eng manager, Brightwell\" },\n  { quote: \"We cut our infrastructure repo from 12,000 lines to about 300.\", highlight: \"12,000 lines to about 300\", name: \"Daniel Cho\", role: \"Lead dev, Orchard Health\" },\n  { quote: \"New hires ship to production on day one. That used to take three weeks.\", highlight: \"ship to production on day one\", name: \"Sofia Lind\", role: \"VP Engineering, Kestrel\" },\n  { quote: \"Edge caching alone paid for the whole plan in the first month.\", highlight: \"paid for the whole plan\", name: \"Omar Haddad\", role: \"Head of web, Saltmarsh\" },\n  { quote: \"It feels like the platform team we could never afford to hire.\", highlight: \"the platform team we could never afford\", name: \"Lena Fischer\", role: \"CTO, Wayfare\" },\n  { quote: \"Branch databases made our test suite honest for the first time.\", highlight: \"Branch databases\", name: \"Jonah Reyes\", role: \"Backend, Quillstack\" },\n];\n\nfunction initials(name: string) {\n  return name.split(\" \").map((p) => p[0]).slice(0, 2).join(\"\");\n}\n\nfunction hash(n: number) {\n  let x = (n + 1) * 2654435761;\n  x = (x ^ (x >>> 15)) >>> 0;\n  return x;\n}\n\nfunction Star() {\n  return (\n    <svg viewBox=\"0 0 20 20\" aria-hidden=\"true\">\n      <path fill=\"currentColor\" d=\"M10 1.6l2.5 5.3 5.8.7-4.3 4 1.1 5.7L10 14.5l-5.1 2.8 1.1-5.7-4.3-4 5.8-.7z\" />\n    </svg>\n  );\n}\n\nfunction Quote({ text, highlight }: { text: string; highlight?: string }) {\n  if (!highlight) return <>{text}</>;\n  const at = text.indexOf(highlight);\n  if (at < 0) return <>{text}</>;\n  return (\n    <>\n      {text.slice(0, at)}\n      <mark>{highlight}</mark>\n      {text.slice(at + highlight.length)}\n    </>\n  );\n}\n\nexport function ProofTiltedWall({\n  eyebrow = \"Wall of love\",\n  title = \"Teams ship faster the week they switch\",\n  subtitle = \"Twelve thousand engineering teams run production on Vantage. Here is what a few of them told us, unedited.\",\n  score = \"4.9\",\n  scoreNote = \"Average from 2,180 verified reviews across three review sites\",\n  reviews = defaultReviews,\n  cta = { label: \"Read all customer stories\", href: \"#stories\" },\n  columns = 4,\n  speed = 46,\n  accent = \"#8b5cf6\",\n  className = \"\",\n  style,\n  ...rest\n}: ProofTiltedWallProps) {\n  const uid = React.useId();\n  const cols = Math.max(2, Math.min(columns, 5));\n  const lanes = Array.from({ length: cols }, (_, c) => reviews.filter((_, i) => i % cols === c));\n  const vars = {\n    \"--hb-wb1-accent\": accent,\n    \"--hb-wb1-speed\": `${Math.max(speed, 8)}s`,\n    \"--hb-wb1-cols\": cols,\n    ...style,\n  } as React.CSSProperties;\n\n  return (\n    <section className={`hb-wb1 ${className}`} style={vars} aria-labelledby={`${uid}-t`} {...rest}>\n      <style href=\"hb-proof-tilted-wall\" precedence=\"default\">{css}</style>\n      <div className=\"hb-wb1-wrap\">\n        <div className=\"hb-wb1-copy\">\n          {eyebrow && (\n            <p className=\"hb-wb1-eyebrow\">\n              <i aria-hidden=\"true\" />\n              {eyebrow}\n            </p>\n          )}\n          <h2 id={`${uid}-t`} className=\"hb-wb1-title\">{title}</h2>\n          {subtitle && <p className=\"hb-wb1-sub\">{subtitle}</p>}\n          {score && (\n            <div className=\"hb-wb1-score\">\n              <b>{score}</b>\n              <div>\n                <div className=\"hb-wb1-stars\" aria-label={`${score} out of 5`}>\n                  {[0, 1, 2, 3, 4].map((k) => <Star key={k} />)}\n                </div>\n                <span>{scoreNote}</span>\n              </div>\n            </div>\n          )}\n          {cta && (\n            <a className=\"hb-wb1-cta\" href={cta.href}>\n              {cta.label}\n              <svg width=\"14\" height=\"14\" viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n                <path d=\"M3 8h10M9 4l4 4-4 4\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n              </svg>\n            </a>\n          )}\n        </div>\n        <div className=\"hb-wb1-stage\">\n          <ul className=\"hb-wb1-sr\">\n            {reviews.map((r, i) => (\n              <li key={i}>{`${r.quote} ${r.name}, ${r.role}`}</li>\n            ))}\n          </ul>\n          <div className=\"hb-wb1-plane\" aria-hidden=\"true\">\n            {lanes.map((lane, c) => (\n              <div key={c} className=\"hb-wb1-col\">\n                <div className=\"hb-wb1-track\">\n                  {[...lane, ...lane].map((r, i) => {\n                    const idx = reviews.indexOf(r);\n                    const [a, b] = palette[hash(idx) % palette.length];\n                    const stars = Math.round(r.rating ?? 5);\n                    return (\n                      <article key={`${c}-${i}`} className=\"hb-wb1-card\">\n                        <div className=\"hb-wb1-stars\">\n                          {Array.from({ length: stars }, (_, k) => <Star key={k} />)}\n                        </div>\n                        <p className=\"hb-wb1-q\"><Quote text={r.quote} highlight={r.highlight} /></p>\n                        <div className=\"hb-wb1-who\">\n                          <span className=\"hb-wb1-av\" style={{ background: `linear-gradient(135deg, ${a}, ${b})` }}>{initials(r.name)}</span>\n                          <div>\n                            <b>{r.name}</b>\n                            <small>{r.role}</small>\n                          </div>\n                        </div>\n                      </article>\n                    );\n                  })}\n                </div>\n              </div>\n            ))}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}