Skip to content
All blocks

[05] Marketing

Logo Cloud

A "Trusted by" line over six one-color company logos that follow light and dark mode.

1280px

Copy the code

One file with one component and its sample data. It needs @vaneui/ui and its stylesheet, set up as in the installation guide.

logo-cloud.tsx

import type { ReactNode } from "react";
import { Col, Container, Grid6, Section, Text } from "@vaneui/ui";
// Made-up companies with one-color marks, so the logos follow the text color in light and dark
const logos: { name: string; mark: ReactNode }[] = [
{ name: "Northwind", mark: <path d="M4 20V4l16 16V4" /> },
{ name: "Globex", mark: <><circle cx="12" cy="12" r="9" /><path d="M3 12h18M12 3a14 14 0 0 1 0 18" /></> },
{ name: "Initech", mark: <path d="M4 4h16v16H4zM9 9h6v6H9z" /> },
{ name: "Umbrella", mark: <path d="M3 12a9 9 0 0 1 18 0zM12 12v7a2 2 0 0 0 4 0" /> },
{ name: "Hooli", mark: <path d="M6 4v16M18 4v16M6 12h12" /> },
{ name: "Vandelay", mark: <path d="m4 5 8 14 8-14" /> },
];
export function LogoCloud() {
return (
<Section>
<Container itemsStretch>
<Col xl itemsCenter>
<Text secondary textCenter>Trusted by 12,000 teams, from new startups to public companies</Text>
<Grid6 lg wFull className="max-tablet:grid-cols-3">
{logos.map((l) => (
<Text key={l.name} tag="div" lg fontBold tertiary textCenter wFull whitespaceNowrap>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
{l.mark}
</svg>{" "}
{l.name}
</Text>
))}
</Grid6>
</Col>
</Container>
</Section>
);
}

Components in this block

How it adapts

  • 1024px and up: six logos in one row.
  • Below 1024px: two rows of three.
  • Below 768px: three rows of two.

How these props work is in responsive page sections without breakpoint classes.

Adapt it with your coding agent

Add the VaneUI MCP server, and your agent reads the component docs and prop tables while it changes the block: the copy, the sample data or the layout.

$ claude mcp add vaneui -- npx -y @vaneui/mcp

Setup for other editors is in the AI assistants guide.