Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Logo clouds

1 example. Resize any preview to see it at phone and tablet widths.

Logo Cloud

Free

Six customer marks in a ruled grid that goes from two columns to six, under a line that states how many companies use the product.

Hide code
components/blocks/logo-cloud.tsx
const logos = [
  { name: "Northwind", mark: "M4 20 12 4l8 16h-4l-4-8-4 8z" },
  { name: "Globex", mark: "M12 3a9 9 0 1 0 9 9h-9v3h5.2A6 6 0 1 1 12 6c1.6 0 3 .6 4.100 1.600l2.100-2.100A9 9 0 0 0 12 3z" },
  { name: "Initech", mark: "M5 4h4v16H5zM13 4h6v4h-6zM13 12h6v8h-6z" },
  { name: "Umbrella", mark: "M12 3a9 9 0 0 0-9 9h8v6a2 2 0 1 0 4 0h-2v-6h8a9 9 0 0 0-9-9z" },
  { name: "Hooli", mark: "M4 4h4v6h8V4h4v16h-4v-6H8v6H4z" },
  { name: "Vandelay", mark: "M3 5h5l4 9 4-9h5l-7 15h-4z" },
];

export default function LogoCloud() {
  return (
    <section aria-labelledby="logo-cloud-title" className="w-full px-6 py-14 sm:px-10 sm:py-16">
      <div className="mx-auto max-w-5xl">
        <p id="logo-cloud-title" className="text-center text-sm text-muted-foreground">
          Trusted by revenue teams at <span className="font-medium text-foreground">4,200 companies</span>
        </p>
        {/* One pixel gaps over a border-colored background draw the rules at every column count. */}
        <ul className="mt-8 grid grid-cols-2 gap-px overflow-hidden rounded-xl border border-border bg-border sm:grid-cols-3 lg:grid-cols-6">
          {logos.map((logo) => (
            <li key={logo.name} className="group flex h-20 items-center justify-center gap-2.5 bg-background text-muted-foreground transition-colors duration-150 motion-reduce:transition-none hover:bg-muted/40 hover:text-foreground">
              <svg viewBox="0 0 24 24" className="size-5 shrink-0" fill="currentColor" aria-hidden>
                <path d={logo.mark} />
              </svg>
              <span className="text-[15px] font-semibold tracking-tight">{logo.name}</span>
            </li>
          ))}
        </ul>
      </div>
    </section>
  );
}