Logos: single row of customer wordmarks
A small uppercase caption over a hairline-bordered row of muted wordmarks that wrap. The logos are static and have no hover state.
pnpm dlx shadcn@latest add @haze/logos-row---
import LogoMark from "../ui/logo-mark.astro";
interface Props {
title?: string;
logos?: { name: string; shape?: "circle" | "square" | "triangle" | "diamond" }[];
}
const {
title = "Trusted by product teams at fast-growing companies",
logos = [
{ name: "Halcyon", shape: "circle" },
{ name: "Northpeak", shape: "triangle" },
{ name: "Copperleaf", shape: "square" },
{ name: "Verity", shape: "diamond" },
{ name: "Outpost", shape: "circle" },
{ name: "Lattice Bay", shape: "square" },
],
} = Astro.props;
---
<section aria-labelledby="logos-row-title" class="bg-background px-6 py-16">
<div class="mx-auto max-w-6xl">
<h2 id="logos-row-title" class="text-center text-[0.6875rem]/4 font-medium tracking-wider text-muted-foreground uppercase">{title}</h2>
<ul class="mt-6 flex flex-wrap items-center justify-center gap-x-12 gap-y-6 border-y border-border py-8">
{
logos.map((logo) => (
<li>
<LogoMark name={logo.name} shape={logo.shape} />
</li>
))
}
</ul>
</div>
</section>When to use
- Directly under the hero to add social proof
- You have four to eight recognisable customers
When not to use
- You need quotes or metrics to back the claim; use testimonials-grid or stats-row
Installation
Add the Haze registry to components.json once, then install Logos: single row of customer wordmarks with the shadcn CLI. Works in any Astro project with Tailwind CSS v4.
pnpm dlx shadcn@latest add @haze/logos-rownpx shadcn@latest add @haze/logos-rowyarn dlx shadcn@latest add @haze/logos-rowbunx --bun shadcn@latest add @haze/logos-rowFirst time? Registry and theme setup
1. Add to components.json:
{
"registries": {
"@haze": "http://localhost:4329/r/{name}.json"
}
}2. Install the theme once: npx shadcn@latest add @haze/theme, then import it after Tailwind in your global CSS:@import "./haze.css";
API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | demo caption | Caption above the logos (rendered as h2). |
| logos | { name: string; shape?: "circle" | "square" | "triangle" | "diamond" }[] | 6 fictional companies | Wordmarks to show. Replace with real logo images in production. |
Accessibility
- Logos are a list, so screen readers announce how many there are.
- Each wordmark is text, so the company name is read; the shape icon is decorative.
Notes for AI
Copy into Claude Code, Cursor, Codex or any coding agent. Agents can also read the Markdown version of this page.
Install and use
Install the Haze UI block "Logos: single row of customer wordmarks" with `npx shadcn@latest add @haze/logos-row`. If components.json has no "@haze" registry yet, add "registries": { "@haze": "http://localhost:4329/r/{name}.json" }. If src/styles/haze.css does not exist yet, run `npx shadcn@latest add @haze/theme` once and import it from the global stylesheet after Tailwind. The CLI stops at an overwrite question when a Haze file already exists and differs, even with --yes, and then installs nothing after it: read its output. If the user has not edited their Haze files, re-run with --overwrite to take the registry versions; if they have, ask them before overwriting. Then import LogosRow from "@/components/haze/blocks/logos-row.astro" (or the relative path) and render it where it fits the page. Keep Haze token classes (bg-background, text-muted-foreground, border-border...) and never hardcode colors. Docs: http://localhost:4329/blocks/logos-row.md
Customize with real content
Adapt the Haze logos-row block for our product. Replace the demo values of these props with our real content: title, logos. Keep the layout, the heading level rules and these accessibility details: Logos are a list, so screen readers announce how many there are. Each wordmark is text, so the company name is read; the shape icon is decorative. Do not add raw color classes; use the Haze tokens.
Choose the right block
Before using logos-row, check it fits: use it when directly under the hero to add social proof; you have four to eight recognisable customers. Avoid it when you need quotes or metrics to back the claim; use testimonials-grid or stats-row. Alternatives: @haze/testimonials-grid, @haze/stats-row.
Dependencies
- @haze/logo-mark
- @haze/theme (one-time setup)
Source · Original Haze UI work.