Logos, row around heading


Install
npx shadcn add https://ui.klarhimmel.com/r/logos-row-around-heading.jsonDetailsAbout, usage, props and more
A centred row of logos on top, then a centred heading with one action beneath it, and optionally a second logo row under the action. Logos wrap on a phone.
Import
Import
- logo-cloud/row-around-heading
- Category
- Who already uses it, as a quiet row or grid of logos. New project? Set it up once: /get-started/installation.
Notes
When to use it
Pick it when the logos should lead and a short statement with one action follows, as in a trust bar that turns into a call to act. Pick logos-strip when the logos sit under a small lead-in and no action follows, and cta-minimal when there are no logos at all.
Writing for it
- Logos: 3 to 8 pictures per row, each with alt text that names the company. - Title: one line, up to 80 characters, set centred in a narrow column. - Second row under the action is optional, up to 8 logos; turn on large for the bigger heading and logos.
Watch out for
Rows of unequal logo counts look lopsided, so keep both rows the same length, and give every logo a transparent or matching background so the muted tone reads as one family.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
logos | { media }[] | 5 items | List of 3 to 8. Each item: media. |
title | string | 'Say what the logos above stand for' | Text, up to 80 characters. |
cta | Link | {…} | See the type. |
logosBelow | { media }[] | 0 items | List of up to 8. Each item: media. |
large | boolean | false | See the type. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |