Logo blocks
Customer logo sections at equal visual weight, from a quiet row to logos with context.
A long wordmark and a compact symbol should look equally important. Each logo sets its own height, so you can balance them by eye. Keep them in one color that follows the theme.
Quiet logo row
One line of text and one row of logos. Below 1024 pixels it becomes a tidy grid of three columns, then two.
import { EXAMPLE_LOGOS } from "@/components/marketing/foundation/example-brands"
import { LogoGroup } from "@/components/marketing/foundation/logo-group"
import {
MarketingContainer,
MarketingSection,
} from "@/components/marketing/foundation/section"
import type { MarketingLogo } from "@/components/marketing/foundation/types"
interface LogosQuietRowProps {
label?: string
/** Five or six. */
logos?: MarketingLogo[]
/** An anchor for links within the page. */
id?: string
className?: string
}
/** A short label and one row of logos at equal visual weight. */
export function LogosQuietRow({
label = "Where policies get signed off in Recto",
logos = EXAMPLE_LOGOS,
id,
className,
}: LogosQuietRowProps) {
return (
<MarketingSection aria-label={label} id={id} className={className}>
<MarketingContainer>
<p className="mkt-meta mb-9 lg:text-center">{label}</p>
<LogoGroup logos={logos} />
</MarketingContainer>
</MarketingSection>
)
}
export type { LogosQuietRowProps }
Divided customer grid
Two rows in one ruled frame, for a page whose customer list is part of the argument.
import * as React from "react"
import { LOGOS } from "@/components/marketing/foundation/example-brands"
import { LogoItem } from "@/components/marketing/foundation/logo-group"
import {
MarketingContainer,
MarketingSection,
} from "@/components/marketing/foundation/section"
import { SectionHeading } from "@/components/marketing/foundation/section-heading"
import type { MarketingLogo } from "@/components/marketing/foundation/types"
interface LogosDividedGridProps {
title?: React.ReactNode
description?: React.ReactNode
/** Eight fills the grid: four columns on desktop, two on a phone. */
logos?: MarketingLogo[]
/** An anchor for links within the page. */
id?: string
className?: string
}
const DEFAULT_LOGOS: MarketingLogo[] = [
LOGOS.harrow,
LOGOS.tidewater,
LOGOS.kiln,
LOGOS.osprey,
LOGOS.sundial,
LOGOS.alder,
LOGOS.passage,
LOGOS.bract,
]
/** Two rows of logos in one frame, for a page with a longer customer list. */
export function LogosDividedGrid({
title = "Retailers, railways and one research lab.",
description = "They publish different things. They all need the right people to agree first.",
logos = DEFAULT_LOGOS,
id,
className,
}: LogosDividedGridProps) {
const titleId = React.useId()
return (
<MarketingSection aria-labelledby={titleId} id={id} className={className}>
<MarketingContainer>
<SectionHeading align="split" titleId={titleId} title={title} description={description} />
<div className="mt-(--mkt-head-gap) overflow-hidden rounded-(--mkt-radius-panel) border-[0.5px] border-(--mkt-line-strong)">
{/* Rules on two sides of every cell; the frame crops the outer ones. */}
<ul className="m-0 -me-px -mb-px grid list-none grid-cols-2 p-0 lg:grid-cols-4">
{logos.map((logo) => (
<li
key={logo.name}
className="flex h-28 items-center justify-center border-e-[0.5px] border-b-[0.5px] border-(--mkt-line-strong) px-4 sm:h-36 lg:h-40"
>
<LogoItem logo={logo} />
</li>
))}
</ul>
</div>
</MarketingContainer>
</MarketingSection>
)
}
export type { LogosDividedGridProps }
Logos with customer context
A logo says who. A few words underneath say what for, which helps most when your customers are in different industries.
import * as React from "react"
import { LOGOS } from "@/components/marketing/foundation/example-brands"
import { LogoItem } from "@/components/marketing/foundation/logo-group"
import {
MarketingContainer,
MarketingSection,
} from "@/components/marketing/foundation/section"
import { SectionHeading } from "@/components/marketing/foundation/section-heading"
import type { MarketingLogo } from "@/components/marketing/foundation/types"
interface LogosCustomerContextProps {
title?: React.ReactNode
description?: React.ReactNode
/** Six reads best. Keep each note under about ten words. */
customers?: { logo: MarketingLogo; note: string }[]
/** An anchor for links within the page. */
id?: string
className?: string
}
const DEFAULT_CUSTOMERS = [
{ logo: LOGOS.osprey, note: "Safety notices, approved by five depots" },
{ logo: LOGOS.kiln, note: "Returns and warranty terms in 14 languages" },
{ logo: LOGOS.fathom, note: "Test protocols with a named approver" },
{ logo: LOGOS.alder, note: "Engagement letters, signed off the same day" },
{ logo: LOGOS.harrow, note: "One supplier code across 60 shops" },
{ logo: LOGOS.tidewater, note: "Board papers, with every version kept" },
]
/** Each logo with a few words on what that customer uses the product for. */
export function LogosCustomerContext({
title = "What they approve with Recto",
description,
customers = DEFAULT_CUSTOMERS,
id,
className,
}: LogosCustomerContextProps) {
const titleId = React.useId()
return (
<MarketingSection aria-labelledby={titleId} id={id} className={className}>
<MarketingContainer>
<SectionHeading titleId={titleId} title={title} description={description} />
<ul className="m-0 mt-(--mkt-head-gap) grid list-none gap-x-(--mkt-column-gap) p-0 sm:grid-cols-2 lg:grid-cols-3">
{customers.map(({ logo, note }) => (
<li
key={logo.name}
className="border-t-[0.5px] border-(--mkt-line-strong) pt-6 pb-9 lg:pt-7 lg:pb-14"
>
<LogoItem logo={logo} className="h-7" />
<p className="mkt-body mt-4 max-w-[20rem] lg:mt-9">{note}</p>
</li>
))}
</ul>
</MarketingContainer>
</MarketingSection>
)
}
export type { LogosCustomerContextProps }
Usage
Every prop has a default, so a block renders as soon as it is installed. Pass your own content to replace it.
import { LogosQuietRow } from "@/components/marketing/logos-quiet-row"
<LogosQuietRow
label="Used by operations teams at"
logos={[{ name: "Harrow", mark: <HarrowLogo />, href: "/customers/harrow" }]}
/>