Skip to content
Klarhimmel UI

Logos, detail picker

Logos, detail picker previewLogos, detail picker preview

Install

npx shadcn add https://ui.klarhimmel.com/r/logos-detail-picker.json
DetailsAbout, usage, props and more

A header (label, heading, lead) over two columns: a list of selectable logo rows on the left and one detail panel on the right (picture, badge, heading, text, two…

Import

Import

import Block from '@/components/klarhimmel/blocks/logos-detail-picker';
Also called
  • logo-cloud/detail-picker
About
A header (label, heading, lead) over two columns: a list of selectable logo rows on the left and one detail panel on the right (picture, badge, heading, text, two actions) that changes with the chosen row, with no script.
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 a visitor should choose one partner, customer or integration from a list and read a fuller panel about it beside the list. Pick logos-featured when one quote leads and a logo grid supports it, or logos-grid when the logos alone are the proof.

Writing for it

- Two to six rows, each a name up to 40 characters beside a small logo. - Panel title up to 100 characters, text up to 240, badge up to 24, plus one or two actions. - Header title up to 120 characters, lead up to 240.

Watch out for

The first row opens by default, so put the strongest choice there. Each panel needs its own picture and text or the right side looks empty after a click; give short names so rows stay on one line.

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 LogosDetailPicker from '@/components/klarhimmel/blocks/logos-detail-picker';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <LogosDetailPicker props={{
          "eyebrow": "Section name",
          "title": "Say what the visitor can choose between",
          "description": "Say what each row on the left opens.",
          "items": [
            {
              "name": "First name",
              "logo": {
                "src": "/pictures/logo-keramikfesten.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-keramikfesten-dark.svg"
              },
              "picture": {
                "src": "/pictures/photo-salon2.avif",
                "alt": "A salon interior in black and white with chairs and mirrors"
              },
              "badge": "Label",
              "title": "Name what this item is",
              "description": "Say in a line what this one offers the visitor.",
              "primary": {
                "label": "Main action",
                "href": "#first"
              },
              "secondary": {
                "label": "Second action",
                "href": "#first-more"
              }
            }
          ]
        }} />
      </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'Section name'Text, up to 60 characters.
titlestring'Say what the visitor can choose bet…'Text, up to 120 characters.
descriptionstring'Say what each row on the left opens.'Text, up to 240 characters.
items{ name, logo, picture, badge, title, description, primary, secondary }[]3 itemsList of 2 to 6. Each item: name, logo, picture, badge, title, description, primary, secondary (optional).
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.