# Logos, grid

- **[Sections](/blocks/)**
- **[Logo cloud](/blocks/logo-cloud/)**
- **Logos, grid**

A hairline grid of up to 48 logo cells. Each cell shows its image, or the name set as a wordmark while there is no image.

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/logos-grid
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/logos-grid';
  ```

Also called

- logo-cloud/grid

- **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 hairline grid of logos for a long customer or partner list, up to twelve cells. For a single row of names use `logos-strip`, and for logos split into categories use `logos-grouped`.
- **Writing for it**: - Logos take two to twelve entries, and the grid reads best when the count fills whole rows, so ten or twelve looks more finished than eleven.
- Each logo needs a name (40) even with an image, since it becomes the accessible text. Use the company's own spelling.
- The title holds 80 characters and the description 300; a short claim such as the number of teams using the product is enough above the grid.
- **Watch out for**: A cell without an image shows the name as a typeset wordmark, with a different typeface per position. A grid of only wordmarks reads as a list of names, not as proof.

## Pairs well with

- **[Hero, centered](/blocks/hero/centered)**
- **[Features, grid](/blocks/features/grid)**
- **[Testimonials, grid](/blocks/testimonials/grid)**

## 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 LogosGrid from '@/components/klarhimmel/blocks/logos-grid';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <LogosGrid props={{
          "title": "Say who relies on you in one line",
          "description": "Say in a sentence or two who your customers are and what they use you for.",
          "logos": [
            {
              "name": "First logo",
              "media": {
                "src": "/pictures/logo-lindholmen-logistik.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-lindholmen-logistik-dark.svg"
              }
            },
            {
              "name": "Second logo",
              "media": {
                "src": "/pictures/logo-sa-vena-s-bygg.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-sa-vena-s-bygg-dark.svg"
              }
            },
            {
              "name": "Third logo",
              "media": {
                "src": "/pictures/logo-stigfinnaren.svg",
                "alt": "A company logo",
                "srcDark": "/pictures/logo-stigfinnaren-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.

- **title**: Text, up to 80 characters.
- **description**: Text, up to 300 characters.
- **action**: Optional; empty is not rendered.
- **wide**: Optional; empty is not rendered.
- **logos**: List of 2 to 48. Each item: name (optional), media, href (optional).
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/logo-cloud/featured)

[Next](/blocks/logo-cloud/grouped)
