Skip to content

Logo Cloud

A row of customer logos where one cell at a time blurs out and returns as a logo not yet on screen.

2 variantsNew

Preview

Installation

Copies the component into components/ui and installs its dependencies and theme tokens.

pnpm dlx shadcn@latest https://floret.shippedui.com/r/logo-cloud.json

Usage

Pass your own data and wire the callbacks to your app.

import { LogoCloud } from "@/components/ui/logo-cloud";

const logos = [
  { name: "Acme", logo: "/logos/acme.svg" },
  { name: "Globex", logo: <GlobexMark /> },
  // …more logos than cells, so they rotate
];

<LogoCloud logos={logos} cells={4} interval={4000} />

Props

PropTypeDefaultDescription
logos*LogoCloudLogo[]—Logo URLs or inline SVG nodes. Rotation needs more logos than cells.
titleReactNode"Trusted by teams at"Line above the row; pass null to hide.
cellsnumber4Visible cells.
intervalnumber4000Milliseconds between swaps.
fadenumber500Blur-out duration in ms.
invertInDarkbooleantrueInverts image logos in dark mode so black marks stay visible. Inline SVGs use currentColor instead.
export type LogoCloudLogo = {
  name: string;
  logo: string | React.ReactNode;
};

// Exported too, for building your own layout:
export function useLogoCloud(options: {
  logoCount: number; cells: number; interval: number; fade: number; enabled: boolean;
}): { shown: number[]; fading: number | null };