Marketing sectionsLogoStripRow
Searchastronomic.dev# LogoStripRow
To show the clients you have worked for in one line, such as under a hero, or as a centered row.
Static: no JavaScript.
## Usage
```astro
import LogoStripRow from "@astronomic-dev/ui/components/LogoStripRow.astro";
```
## Examples
### Client logos
The label and the logos on one wrapping line, such as a trust strip under a hero. The marks are fictional samples, in a fixed mid-gray that reads on a light and a dark page. A logo can be a link: the first fades on hover.
```astro
---
import LogoStripRow from "@astronomic-dev/ui/components/LogoStripRow.astro";
import type { UiImage } from "@astronomic-dev/ui/lib/image.ts";
// Plain sample marks with a fixed mid-gray fill: an image logo keeps its own colors, so these read on a light and a
// dark page. Fictional companies, drawn for the examples.
import Fernhill from "../../logos/sample-fernhill.svg";
import Kestrel from "../../logos/sample-kestrel.svg";
import Oakridge from "../../logos/sample-oakridge.svg";
import Quarry from "../../logos/sample-quarry.svg";
import Tidewater from "../../logos/sample-tidewater.svg";
const image = (svg: { src: string; width: number; height: number }): UiImage => ({ src: svg.src, width: svg.width, height: svg.height, alt: "" });
const clients = [
{ name: "Kestrel", logo: image(Kestrel), href: "#kestrel" },
{ name: "Fernhill", logo: image(Fernhill) },
{ name: "Tidewater", logo: image(Tidewater) },
{ name: "Quarry", logo: image(Quarry) },
{ name: "Oakridge", logo: image(Oakridge) },
];
---
<div class="mx-auto max-w-6xl px-6 py-12">
<LogoStripRow label="Recent clients" items={clients} />
</div>
```
### Centered
align="center": the label, or the heading and its text, above a centered row. These clients have no logo image, so each name shows as text, a logo tall.
```astro
---
import LogoStripRow from "@astronomic-dev/ui/components/LogoStripRow.astro";
// Names with no logo image: each shows as text, in display type, a logo tall.
const clients = [
{ name: "Astronomic", href: "#astronomic" },
{ name: "Sample Co." },
{ name: "Sample Studio" },
{ name: "Sample Group" },
{ name: "Sample Labs" },
];
---
<div class="mx-auto grid max-w-6xl gap-section px-6 py-12">
<LogoStripRow align="center" label="Trusted by teams like these" items={clients} />
<LogoStripRow align="center" heading="Clients" text="Studios and firms we have worked with." items={clients} />
</div>
```
## Props
### LogoStripRow
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `items` | `LogoStripItem[]` | None | Required. The clients: { name, logo?, href?, target? } (LogoStripItem). logo (a UiImage) shows at the logo height (--ui-logo-h), at most 9rem wide; its alt is ignored, since the alt is always the name. Without a logo, the name shows as text. A linked image fades a little on hover; a linked name turns muted. Only these fields render, so a CMS entry's other fields never reach the page. |
| `heading` | `string` | None | The section heading, in the title role in display type. Without it there is no section: a plain <div> holds the label and the list. |
| `emphasis` | `boolean` | `false` | Turn one *phrase* in the heading into <em>: exactly two asterisks around text with no space inside, as in "Built for *the long run*". Any other asterisks show as typed. Off by default, so the heading shows as typed. How the <em> looks is the theme's. |
| `mark` | `string` | None | A short mark after the heading, such as "(12)" or "©2026", in small muted type. It sits beside the heading, outside it, so the heading's name stays plain. Shown only with a heading. |
| `markLabel` | `string` | None | What the mark says to a screen reader, such as "12 projects": the mark is then hidden from screen readers and this is read in its place. Without it, the mark is read as written. |
| `text` | `string` | None | One or two sentences under the heading, in the lead role, muted. Shown only with a heading. |
| `headingTag` | `"h2" \| "h3" \| "h4"` | `"h2"` | The heading element. |
| `label` | `string` | None | A short label before the list when there is no heading, such as "Recent clients". It names the list. Ignored with a heading. |
| `class` | `string` | None | More classes for the root (the <section>, or the <div> without a heading), merged with cn(), so yours win on conflicts. The root is a named size container (inline-size containment): in a shrink-to-fit parent (inline-flex, a float, fit-content) it collapses, so give it a width there. |
| `align` | `"start" \| "center"` | `"start"` | start: the label and the logos on one line (a heading sits above them). center: the label or the header above a centered row. |
| Slot | Description |
| --- | --- |
| `eyebrow` | A short line above the heading, such as a Badge. Shown only with a heading. |
Any other attribute goes on the <section>, or on the <div> without a heading.
## Accessibility
- With a heading, renders a <section> named by it, so it is a region landmark. The heading id is unique on the page.
- Without a heading, renders a plain <div>. Put your own heading above it.
- The logos sit in one list (<ul role="list">), named by the heading or the label, so a screen reader says how many there are.
- A logo's alt is always the item's name.
- A link that opens a new tab gets rel="noopener noreferrer".
- A logo link takes the kit's focus ring.
- An empty items list renders an empty list: leave the section out when there is nothing to show.
LogoStripRow
FreeTo show the clients you have worked for in one line, such as under a hero, or as a centered row.
- File
- LogoStripRow.astro
- Group
- Marketing sections
- Kind
- Static: no JavaScript
- Examples
- 2
Examples
Drag the orange handle to set the width. Frames get real breakpoints.
- Static
- Interactive
- Framed
Client logos
The label and the logos on one wrapping line, such as a trust strip under a hero. The marks are fictional samples, in a fixed mid-gray that reads on a light and a dark page. A logo can be a link: the first fades on hover.
This preview did not load.
main.astro
examples/logostriprow/main.astro
---
import LogoStripRow from "@astronomic-dev/ui/components/LogoStripRow.astro";
import type { UiImage } from "@astronomic-dev/ui/lib/image.ts";
// Plain sample marks with a fixed mid-gray fill: an image logo keeps its own colors, so these read on a light and a
// dark page. Fictional companies, drawn for the examples.
import Fernhill from "../../logos/sample-fernhill.svg";
import Kestrel from "../../logos/sample-kestrel.svg";
import Oakridge from "../../logos/sample-oakridge.svg";
import Quarry from "../../logos/sample-quarry.svg";
import Tidewater from "../../logos/sample-tidewater.svg";
const image = (svg: { src: string; width: number; height: number }): UiImage => ({ src: svg.src, width: svg.width, height: svg.height, alt: "" });
const clients = [
{ name: "Kestrel", logo: image(Kestrel), href: "#kestrel" },
{ name: "Fernhill", logo: image(Fernhill) },
{ name: "Tidewater", logo: image(Tidewater) },
{ name: "Quarry", logo: image(Quarry) },
{ name: "Oakridge", logo: image(Oakridge) },
];
---
<div class="mx-auto max-w-6xl px-6 py-12">
<LogoStripRow label="Recent clients" items={clients} />
</div>Centered
align="center": the label, or the heading and its text, above a centered row. These clients have no logo image, so each name shows as text, a logo tall.
This preview did not load.
centered.astro
examples/logostriprow/centered.astro
---
import LogoStripRow from "@astronomic-dev/ui/components/LogoStripRow.astro";
// Names with no logo image: each shows as text, in display type, a logo tall.
const clients = [
{ name: "Astronomic", href: "#astronomic" },
{ name: "Sample Co." },
{ name: "Sample Studio" },
{ name: "Sample Group" },
{ name: "Sample Labs" },
];
---
<div class="mx-auto grid max-w-6xl gap-section px-6 py-12">
<LogoStripRow align="center" label="Trusted by teams like these" items={clients} />
<LogoStripRow align="center" heading="Clients" text="Studios and firms we have worked with." items={clients} />
</div>Minimal · Light