{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"logo-cloud","type":"registry:block","title":"Logo Cloud","description":"Customer logo strip of text wordmarks in varied weights and spacing, as an endless marquee or a bordered grid where each logo lifts to reveal a caption on hover.","author":"GetUrUI <hello@geturui.dev>","dependencies":[],"registryDependencies":["@geturui/marquee"],"files":[{"path":"registry/geturui/blocks/logo-cloud.tsx","type":"registry:block","target":"components/blocks/logo-cloud.tsx","content":"import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { Marquee } from \"@/components/ui/marquee\";\n\nexport type WordmarkStyle = \"geometric\" | \"mono\" | \"serif\" | \"heavy\" | \"light\" | \"rounded\";\nexport type WordmarkGlyph = \"dot\" | \"ring\" | \"square\" | \"slash\" | \"triangle\" | \"bars\" | \"none\";\n\nexport interface Logo {\n  name: string;\n  /** Type treatment for the text wordmark. */\n  style?: WordmarkStyle;\n  /** Small drawn mark before the name. */\n  glyph?: WordmarkGlyph;\n  /** Grid variant: line revealed on hover, e.g. \"Cut build time 38%\". */\n  caption?: string;\n  href?: string;\n}\n\nexport interface LogoCloudProps {\n  /** Line above the logos. Pass null to hide. */\n  heading?: string | null;\n  logos?: Logo[];\n  /** Infinite marquee, or a static grid that reveals a caption on hover. */\n  variant?: \"marquee\" | \"grid\";\n  /** Seconds per marquee loop. */\n  duration?: number;\n  className?: string;\n}\n\nconst STYLE_CLASSES: Record<WordmarkStyle, string> = {\n  geometric: \"font-display text-[22px] font-semibold tracking-[-0.8px]\",\n  mono: \"font-mono text-[15px] font-medium uppercase tracking-[0.22em]\",\n  serif: \"font-serif text-[23px] italic tracking-[-0.3px]\",\n  heavy: \"font-sans text-[21px] font-black uppercase tracking-[-1px]\",\n  light: \"font-sans text-[22px] font-light tracking-[0.06em] lowercase\",\n  rounded: \"font-display text-[21px] font-bold tracking-[-0.4px] lowercase\",\n};\n\nfunction Glyph({ glyph }: { glyph: WordmarkGlyph }) {\n  if (glyph === \"none\") return null;\n  return (\n    <svg aria-hidden viewBox=\"0 0 20 20\" className=\"size-[18px] shrink-0\" fill=\"none\" stroke=\"currentColor\" strokeWidth={2.2}>\n      {glyph === \"dot\" && <circle cx=\"10\" cy=\"10\" r=\"6\" fill=\"currentColor\" stroke=\"none\" />}\n      {glyph === \"ring\" && (\n        <>\n          <circle cx=\"10\" cy=\"10\" r=\"7\" />\n          <circle cx=\"10\" cy=\"10\" r=\"2.5\" fill=\"currentColor\" stroke=\"none\" />\n        </>\n      )}\n      {glyph === \"square\" && <rect x=\"3.5\" y=\"3.5\" width=\"13\" height=\"13\" rx=\"3.5\" transform=\"rotate(45 10 10)\" />}\n      {glyph === \"slash\" && <path d=\"M5 17 L15 3 M10 17 L18 6\" strokeLinecap=\"round\" />}\n      {glyph === \"triangle\" && <path d=\"M10 3 L17.5 16.5 H2.5 Z\" fill=\"currentColor\" stroke=\"none\" />}\n      {glyph === \"bars\" && <path d=\"M4 16V9 M10 16V4 M16 16v-5\" strokeLinecap=\"round\" strokeWidth={3} />}\n    </svg>\n  );\n}\n\n/** A made-up company rendered as a text wordmark. */\nexport function Wordmark({ logo, className }: { logo: Logo; className?: string }) {\n  return (\n    <span className={cn(\"inline-flex items-center gap-2 whitespace-nowrap leading-none\", STYLE_CLASSES[logo.style ?? \"geometric\"], className)}>\n      <Glyph glyph={logo.glyph ?? \"none\"} />\n      {logo.name}\n    </span>\n  );\n}\n\nconst DEFAULT_LOGOS: Logo[] = [\n  { name: \"Halcyon\", style: \"geometric\", glyph: \"ring\", caption: \"Rebuilt onboarding in a week\" },\n  { name: \"quillfire\", style: \"rounded\", glyph: \"slash\", caption: \"62 components in production\" },\n  { name: \"Orbital/9\", style: \"mono\", glyph: \"none\", caption: \"Docs bounce rate down 24%\" },\n  { name: \"Mosswood\", style: \"serif\", glyph: \"dot\", caption: \"One design system, four apps\" },\n  { name: \"KESTREL\", style: \"heavy\", glyph: \"triangle\", caption: \"Shipped dark mode in a day\" },\n  { name: \"lumenstack\", style: \"light\", glyph: \"bars\", caption: \"Checkout conversion up 11%\" },\n  { name: \"Tidewave\", style: \"geometric\", glyph: \"square\", caption: \"Replaced 3 animation libraries\" },\n  { name: \"Vellum\", style: \"serif\", glyph: \"none\", caption: \"Pricing page shipped in 2 hours\" },\n];\n\n/** Strip of text-wordmark logos: an endless marquee, or a bordered grid where each cell lifts its logo and reveals a caption on hover. */\nexport function LogoCloud({\n  heading = \"Trusted by product teams at fast-moving companies\",\n  logos = DEFAULT_LOGOS,\n  variant = \"marquee\",\n  duration = 36,\n  className,\n}: LogoCloudProps) {\n  return (\n    <section className={cn(\"@container w-full px-4 py-12 sm:px-6 sm:py-16\", className)}>\n      <div className=\"mx-auto grid max-w-6xl gap-8\">\n        {heading && <p className=\"text-balance text-center text-sm font-medium text-ink-subtle\">{heading}</p>}\n        {variant === \"marquee\" ? (\n          <Marquee duration={duration} className=\"py-2\">\n            {logos.map((l) => (\n              <span key={l.name} className=\"mx-6 inline-flex items-center text-ink-muted transition-colors duration-200 hover:text-ink @xl:mx-8\">\n                <Wordmark logo={l} />\n              </span>\n            ))}\n          </Marquee>\n        ) : (\n          <ul className=\"grid grid-cols-2 gap-px overflow-hidden rounded-lg border border-border bg-border @xl:grid-cols-4\">\n            {logos.map((l) => {\n              const inner = (\n                <>\n                  <span className=\"text-ink-muted transition-[transform,color] duration-500 ease-[var(--ease-spring)] group-hover/logo:-translate-y-2.5 group-hover/logo:text-ink group-focus-visible/logo:-translate-y-2.5 group-focus-visible/logo:text-ink\">\n                    <Wordmark logo={l} />\n                  </span>\n                  {l.caption && (\n                    <span className=\"absolute inset-x-3 bottom-5 translate-y-2 text-center text-[12px] font-medium text-volt-ink opacity-0 blur-[4px] transition-[transform,opacity,filter] duration-500 ease-[var(--ease-spring)] group-hover/logo:translate-y-0 group-hover/logo:opacity-100 group-hover/logo:blur-0 group-focus-visible/logo:translate-y-0 group-focus-visible/logo:opacity-100 group-focus-visible/logo:blur-0\">\n                      {l.caption}\n                    </span>\n                  )}\n                </>\n              );\n              const cell =\n                \"group/logo relative flex h-28 items-center justify-center bg-surface px-4 outline-none transition-colors duration-200 hover:bg-surface-raised focus-visible:bg-surface-raised focus-visible:shadow-[inset_0_0_0_2px_var(--volt-ink)] @xl:h-32\";\n              return (\n                <li key={l.name} className=\"contents\">\n                  {l.href ? (\n                    <a href={l.href} className={cell}>\n                      {inner}\n                    </a>\n                  ) : (\n                    <div className={cell} tabIndex={l.caption ? 0 : undefined}>\n                      {inner}\n                    </div>\n                  )}\n                </li>\n              );\n            })}\n          </ul>\n        )}\n      </div>\n    </section>\n  );\n}\n"},{"path":"LICENSE-geturui.md","type":"registry:file","target":"LICENSE-geturui.md","content":"MIT License\n\nCopyright (c) 2026 geturui.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"}],"categories":["blocks","logos","customers","social proof","marquee","wordmark","trusted by"],"meta":{"tier":"free","license":"MIT","docs":"https://geturui.com/docs/logo-cloud"}}