{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "proof-logo-cloud",
  "type": "registry:component",
  "title": "Proof Logo Cloud",
  "description": "A hairline grid of twelve wordmark tiles that go from gray to full color on hover, with a light sweep that travels across the grid and a star rating line below.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "social-proof",
    "logos",
    "logo cloud",
    "customers",
    "trusted by",
    "rating",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/proof-logo-cloud",
  "files": [
    {
      "path": "registry/hyperblur/proof-logo-cloud.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/proof-logo-cloud.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface LogoCloudItem {\n  name: string;\n  color?: string;\n  href?: string;\n}\n\nexport interface LogoCloudLink {\n  label: string;\n  href: string;\n}\n\nexport interface ProofLogoCloudProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  logos?: LogoCloudItem[];\n  rating?: number;\n  reviewCount?: number;\n  ratingSource?: string;\n  cta?: LogoCloudLink | null;\n  accent?: string;\n  shimmer?: boolean;\n}\n\nconst css = `\n.hb-kd3 {\n  --hb-kd3-accent: #2f7bff;\n  box-sizing: border-box;\n  container-type: inline-size;\n  position: relative;\n  width: 100%;\n  overflow: hidden;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-kd3 *, .hb-kd3 *::before, .hb-kd3 *::after { box-sizing: border-box; }\n.hb-kd3::before {\n  content: \"\";\n  position: absolute;\n  left: 50%;\n  top: -260px;\n  width: 900px;\n  height: 520px;\n  transform: translateX(-50%);\n  background: radial-gradient(closest-side, color-mix(in srgb, var(--hb-kd3-accent) 14%, transparent), transparent);\n  pointer-events: none;\n}\n.hb-kd3-in {\n  position: relative;\n  max-width: 1120px;\n  margin: 0 auto;\n  padding: 96px 24px 104px;\n}\n.hb-kd3-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }\n.hb-kd3-eyebrow {\n  margin: 0;\n  color: var(--hb-kd3-accent);\n  font-size: 13px;\n  font-weight: 600;\n  letter-spacing: .02em;\n}\n.hb-kd3-title {\n  margin: 14px 0 0;\n  font-size: clamp(26px, 4.2cqi, 40px);\n  font-weight: 600;\n  line-height: 1.12;\n  letter-spacing: -.028em;\n  text-wrap: balance;\n}\n.hb-kd3-grid {\n  position: relative;\n  display: grid;\n  grid-template-columns: repeat(4, minmax(0, 1fr));\n  gap: 1px;\n  margin: 0;\n  padding: 1px;\n  list-style: none;\n  border-radius: 20px;\n  background: rgba(255, 255, 255, .07);\n  overflow: hidden;\n}\n.hb-kd3-cell { display: flex; min-width: 0; background: #0a0a0a; }\n.hb-kd3-tile {\n  --hb-kd3-c: #ededed;\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 10px;\n  width: 100%;\n  min-height: 112px;\n  padding: 24px 16px;\n  overflow: hidden;\n  color: #6c6c6c;\n  text-decoration: none;\n  background: linear-gradient(180deg, #0e0e0e, #0a0a0a);\n  transition: color .35s ease, background-color .35s ease;\n  outline: none;\n}\n.hb-kd3-tile::before {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  background: radial-gradient(70% 90% at 50% 120%, color-mix(in srgb, var(--hb-kd3-c) 22%, transparent), transparent 70%);\n  opacity: 0;\n  transition: opacity .4s ease;\n}\n.hb-kd3-tile::after {\n  content: \"\";\n  position: absolute;\n  top: -20%;\n  bottom: -20%;\n  left: 0;\n  width: 46%;\n  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .07) 45%, rgba(255, 255, 255, .13) 50%, rgba(255, 255, 255, .07) 55%, transparent);\n  transform: translate3d(-160%, 0, 0) skewX(-14deg);\n  pointer-events: none;\n}\n.hb-kd3[data-shimmer=\"true\"] .hb-kd3-tile::after { animation: hb-kd3-sweep 7.5s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: var(--hb-kd3-d, 0s); }\n@keyframes hb-kd3-sweep {\n  0% { transform: translate3d(-160%, 0, 0) skewX(-14deg); }\n  22% { transform: translate3d(330%, 0, 0) skewX(-14deg); }\n  100% { transform: translate3d(330%, 0, 0) skewX(-14deg); }\n}\n.hb-kd3-tile:hover, .hb-kd3-tile:focus-visible { color: #ededed; }\n.hb-kd3-tile:hover::before, .hb-kd3-tile:focus-visible::before { opacity: 1; }\n.hb-kd3-tile:focus-visible { box-shadow: inset 0 0 0 2px var(--hb-kd3-accent); }\n.hb-kd3-glyph {\n  position: relative;\n  flex: none;\n  width: 26px;\n  height: 26px;\n  color: #5a5a5a;\n  transition: color .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-kd3-tile:hover .hb-kd3-glyph, .hb-kd3-tile:focus-visible .hb-kd3-glyph { color: var(--hb-kd3-c); transform: rotate(-8deg) scale(1.08); }\n.hb-kd3-word { position: relative; white-space: nowrap; line-height: 1; font-size: 19px; }\n.hb-kd3-word[data-style=\"0\"] { font-weight: 700; letter-spacing: -.04em; }\n.hb-kd3-word[data-style=\"1\"] { font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif); font-size: 23px; letter-spacing: -.01em; }\n.hb-kd3-word[data-style=\"2\"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 600; letter-spacing: .02em; text-transform: lowercase; }\n.hb-kd3-word[data-style=\"3\"] { font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }\n.hb-kd3-word[data-style=\"4\"] { font-weight: 300; font-size: 21px; letter-spacing: -.02em; }\n.hb-kd3-word[data-style=\"5\"] { font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-transform: uppercase; }\n.hb-kd3-word[data-style=\"6\"] { font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif); font-size: 22px; letter-spacing: .01em; }\n.hb-kd3-word[data-style=\"7\"] { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }\n.hb-kd3-rating {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: center;\n  gap: 12px 22px;\n  margin-top: 36px;\n  color: #8f8f8f;\n  font-size: 14px;\n}\n.hb-kd3-score { display: inline-flex; align-items: center; gap: 10px; }\n.hb-kd3-score strong { color: #ededed; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }\n.hb-kd3-stars { position: relative; display: inline-block; width: 92px; height: 16px; flex: none; }\n.hb-kd3-stars svg { position: absolute; inset: 0; width: 92px; height: 16px; }\n.hb-kd3-stars-base { color: rgba(255, 255, 255, .14); }\n.hb-kd3-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #fbbf24; }\n.hb-kd3-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .12); }\n.hb-kd3-link {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  color: #ededed;\n  font-weight: 500;\n  text-decoration: none;\n  border-radius: 6px;\n}\n.hb-kd3-link svg { width: 14px; height: 14px; transition: transform .25s ease; }\n.hb-kd3-link:hover { color: color-mix(in srgb, var(--hb-kd3-accent) 55%, #fff); }\n.hb-kd3-link:hover svg { transform: translate3d(3px, 0, 0); }\n.hb-kd3-link:focus-visible { outline: 2px solid var(--hb-kd3-accent); outline-offset: 3px; }\n@container (max-width: 760px) {\n  .hb-kd3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }\n  .hb-kd3-tile { min-height: 96px; }\n}\n@container (max-width: 520px) {\n  .hb-kd3-in { padding: 64px 16px 72px; }\n  .hb-kd3-head { margin-bottom: 32px; }\n  .hb-kd3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; }\n  .hb-kd3-tile { min-height: 84px; padding: 18px 10px; gap: 8px; }\n  .hb-kd3-glyph { width: 20px; height: 20px; }\n  .hb-kd3-word { font-size: 16px; }\n  .hb-kd3-word[data-style=\"1\"], .hb-kd3-word[data-style=\"6\"] { font-size: 19px; }\n  .hb-kd3-word[data-style=\"3\"] { font-size: 12px; letter-spacing: .22em; }\n  .hb-kd3-sep { display: none; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-kd3-tile::after { animation: none !important; display: none; }\n  .hb-kd3-tile, .hb-kd3-tile::before, .hb-kd3-glyph, .hb-kd3-link svg { transition: none; }\n  .hb-kd3-tile:hover .hb-kd3-glyph, .hb-kd3-tile:focus-visible .hb-kd3-glyph { transform: none; }\n}\n`;\n\nconst defaultLogos: LogoCloudItem[] = [\n  { name: \"Northwind\", color: \"#2f7bff\" },\n  { name: \"Halcyon\", color: \"#f472b6\" },\n  { name: \"quartzline\", color: \"#a78bfa\" },\n  { name: \"Obelisk\", color: \"#e5e5e5\" },\n  { name: \"Fernhill\", color: \"#34d399\" },\n  { name: \"Kestrel\", color: \"#f59e0b\" },\n  { name: \"Lumio\", color: \"#22d3ee\" },\n  { name: \"Parallax\", color: \"#fb7185\" },\n  { name: \"Driftwood\", color: \"#d6a77a\" },\n  { name: \"sable.io\", color: \"#818cf8\" },\n  { name: \"Meridian\", color: \"#4ade80\" },\n  { name: \"Tidewell\", color: \"#38bdf8\" },\n];\n\nconst glyphs = [\n  <path key=\"0\" d=\"M13 2l9.5 5.5v11L13 24l-9.5-5.5v-11L13 2zm0 5.2L8 10v6l5 2.8 5-2.8v-6l-5-2.8z\" />,\n  <path key=\"1\" d=\"M13 2a11 11 0 1 1 0 22 11 11 0 0 1 0-22zm0 4.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13z\" />,\n  <path key=\"2\" d=\"M3 20.5L13 3l10 17.5H3zm5.4-3h9.2L13 9.4l-4.6 8.1z\" />,\n  <path key=\"3\" d=\"M4 5h4v16H4V5zm7 4h4v12h-4V9zm7-6h4v18h-4V3z\" />,\n  <path key=\"4\" d=\"M13 2l11 11-11 11L2 13 13 2zm0 6.4L8.4 13l4.6 4.6 4.6-4.6L13 8.4z\" />,\n  <path key=\"5\" d=\"M2 15c3-4.5 5.5-4.5 8 0s5 4.5 8 0 4.5-4.5 6-2v4c-1.5-2.5-3-2.5-6 2s-5.5 4.5-8 0-5-4.5-8 0v-4z\" />,\n  <path key=\"6\" d=\"M5 3h16v5H10v4h9v5h-9v6H5V3z\" />,\n  <path key=\"7\" d=\"M13 3a10 10 0 0 1 10 10h-5a5 5 0 0 0-5-5V3zM3 13h5a5 5 0 0 0 5 5v5A10 10 0 0 1 3 13z\" />,\n];\n\nfunction StarRow() {\n  return (\n    <svg viewBox=\"0 0 92 16\" fill=\"currentColor\" aria-hidden=\"true\">\n      {[0, 1, 2, 3, 4].map((i) => (\n        <path\n          key={i}\n          transform={`translate(${(i * 19).toFixed(0)} 0)`}\n          d=\"M8 .8l2.1 4.4 4.8.7-3.5 3.4.8 4.8L8 11.8l-4.2 2.3.8-4.8L1.1 5.9l4.8-.7L8 .8z\"\n        />\n      ))}\n    </svg>\n  );\n}\n\nexport function ProofLogoCloud({\n  eyebrow = \"Trusted by 4,000+ product teams\",\n  title = \"The platform behind teams that ship every single week\",\n  logos = defaultLogos,\n  rating = 4.9,\n  reviewCount = 2481,\n  ratingSource = \"verified reviews\",\n  cta = { label: \"Read customer stories\", href: \"#customers\" },\n  accent = \"#2f7bff\",\n  shimmer = true,\n  className = \"\",\n  style,\n  ...rest\n}: ProofLogoCloudProps) {\n  const uid = React.useId();\n  const safeRating = Math.max(0, Math.min(5, rating));\n  const fill = ((safeRating / 5) * 100).toFixed(1);\n  const vars = { \"--hb-kd3-accent\": accent, ...style } as React.CSSProperties;\n\n  return (\n    <section className={`hb-kd3 ${className}`} style={vars} data-shimmer={shimmer ? \"true\" : \"false\"} aria-labelledby={`${uid}-t`} {...rest}>\n      <style href=\"hb-proof-logo-cloud\" precedence=\"default\">{css}</style>\n      <div className=\"hb-kd3-in\">\n        <header className=\"hb-kd3-head\">\n          {eyebrow && <p className=\"hb-kd3-eyebrow\">{eyebrow}</p>}\n          <h2 id={`${uid}-t`} className=\"hb-kd3-title\">{title}</h2>\n        </header>\n        <ul className=\"hb-kd3-grid\">\n          {logos.map((logo, i) => {\n            const col = i % 4;\n            const row = Math.floor(i / 4);\n            const tileStyle = {\n              \"--hb-kd3-c\": logo.color ?? accent,\n              \"--hb-kd3-d\": `${((col + row) * 0.32).toFixed(2)}s`,\n            } as React.CSSProperties;\n            const inner = (\n              <>\n                <svg className=\"hb-kd3-glyph\" viewBox=\"0 0 26 26\" fill=\"currentColor\" aria-hidden=\"true\">\n                  {glyphs[(i * 5 + 3) % glyphs.length]}\n                </svg>\n                <span className=\"hb-kd3-word\" data-style={i % 8}>\n                  {logo.name}\n                </span>\n              </>\n            );\n            return (\n              <li key={`${logo.name}-${i}`} className=\"hb-kd3-cell\">\n                {logo.href ? (\n                  <a className=\"hb-kd3-tile\" href={logo.href} style={tileStyle} aria-label={logo.name}>\n                    {inner}\n                  </a>\n                ) : (\n                  <div className=\"hb-kd3-tile\" style={tileStyle} role=\"img\" aria-label={logo.name}>\n                    {inner}\n                  </div>\n                )}\n              </li>\n            );\n          })}\n        </ul>\n        <div className=\"hb-kd3-rating\">\n          <span className=\"hb-kd3-score\">\n            <span className=\"hb-kd3-stars\" role=\"img\" aria-label={`Rated ${safeRating.toFixed(1)} out of 5`}>\n              <span className=\"hb-kd3-stars-base\">\n                <StarRow />\n              </span>\n              <span className=\"hb-kd3-stars-fill\" style={{ width: `${fill}%` }}>\n                <StarRow />\n              </span>\n            </span>\n            <strong>{safeRating.toFixed(1)}</strong>\n            <span>\n              from {reviewCount.toLocaleString(\"en-US\")} {ratingSource}\n            </span>\n          </span>\n          {cta && (\n            <>\n              <span className=\"hb-kd3-sep\" aria-hidden=\"true\" />\n              <a className=\"hb-kd3-link\" href={cta.href}>\n                {cta.label}\n                <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                  <path d=\"M3 8h10M9 4l4 4-4 4\" />\n                </svg>\n              </a>\n            </>\n          )}\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}