Skip to content
Klarhimmel UI

Logos, as seen in

Logos, as seen in previewLogos, as seen in preview

Install

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

Press coverage as rows: the outlet as a wordmark on the left, the headline as a link to the article, the year at the right.

Import

Import

import Block from '@/components/klarhimmel/blocks/logos-press';
Also called
  • logo-cloud/press
About
Press coverage as rows: the outlet as a wordmark on the left, the headline as a link to the article, the year at the right. Proof from third parties, with the receipts one click away.
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 list of press mentions where each row links to the article, with the outlet, the headline and the year. For logos without links or headlines use logos-strip.

Writing for it

- Each item needs an outlet (40) and a headline (140). Quote the real headline from the article rather than rewording it. - Year holds 8 characters and is optional, and href (300) is where the whole row links to. Fill both so the row is verifiable. - Use two to six items, and put the best-known outlet first, as the outlet names are set in different typefaces down the list.

Watch out for

Every row is a link, including those with an empty href, which then links to just the # fragment. Fill href for every item or the row looks clickable and does nothing.

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 LogosPress from '@/components/klarhimmel/blocks/logos-press';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <LogosPress props={{
          "eyebrow": "Name the section",
          "title": "Say what the press says",
          "items": [
            {
              "outlet": "First outlet",
              "headline": "Give the first headline, as it ran in print",
              "year": "0000",
              "href": "#press-1"
            },
            {
              "outlet": "Second outlet",
              "headline": "Give the second headline, as it ran",
              "year": "0000",
              "href": "#press-2"
            },
            {
              "outlet": "Third outlet",
              "headline": "Give the third headline, as it ran in print",
              "year": "0000",
              "href": "#press-3"
            },
            {
              "outlet": "Fourth outlet",
              "headline": "Give the fourth headline, as it ran",
              "year": "0000",
              "href": "#press-4"
            }
          ]
        }} />
      </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'Name the section'Text, up to 60 characters.
titlestring'Say what the press says'Text, up to 120 characters.
items{ outlet, headline, year, href }[]4 itemsList of 2 to 6. Each item: outlet, headline, year, href.
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.