Skip to content
Klarhimmel UI

Logos, with quote

Logos, with quote previewLogos, with quote preview

Install

npx shadcn add @klarhimmel/logos-featured
DetailsAbout, usage, props and more

One customer quote on the left, a framed grid of up to six customer logos on the right. Names without artwork are set as wordmarks. Social proof in one screenful.

Import

Import

import Block from '@/components/klarhimmel/blocks/logos-featured';
Also called
  • logo-cloud/featured
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

A customer quote with a row of logos under it, for when one endorsement should lead and the logos back it up. For logos alone use logos-grid; for several quotes use testimonials-grid.

Writing for it

- The quote holds 320 characters. Pick a line with a result in it, then give the speaker's name (60) and role (80) in the next two fields. - Logos take two to six entries, each with a name (40) and a media image. The name is also the screen reader text once an image is set. - The logosTitle (80) introduces the row, so word it as a claim about the customers, not just a label.

Watch out for

An item with no image and no name is dropped from the row. While no image is set the name is drawn as a text wordmark, which looks like a stand-in rather than a real logo.

Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import LogosFeatured from '@/components/klarhimmel/blocks/logos-featured';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <LogosFeatured props={{
          "eyebrow": "Say who relies on you",
          "quote": "Quote a customer, in their words, on the result they got",
          "name": "Name a person",
          "role": "Their role and company",
          "logosTitle": "Name the logos below",
          "logos": [
            {
              "name": "First customer",
              "media": {
                "src": "/pictures/logo-kustboken.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-kustboken-dark.svg"
              }
            },
            {
              "name": "Second customer",
              "media": {
                "src": "/pictures/logo-lindholmen-logistik.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-lindholmen-logistik-dark.svg"
              }
            },
            {
              "name": "Third customer",
              "media": {
                "src": "/pictures/logo-sa-vena-s-bygg.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-sa-vena-s-bygg-dark.svg"
              }
            }
          ]
        }} />
      </BlockSurface>
    </Theme>
  );
}

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.

PropTypeDefaultDescription
eyebrowstring'Say who relies on you'Text, up to 60 characters.
quotestring'Quote a customer, in their words, o…'Text, up to 320 characters.
namestring'Name a person'Text, up to 60 characters.
rolestring'Their role and company'Text, up to 80 characters.
logosTitlestring'Name the logos below'Text, up to 80 characters.
logos{ name, media }[]6 itemsList of 2 to 6. Each item: name, media.