# Testimonials, grid

- **[Sections](/blocks/)**
- **[Testimonials](/blocks/testimonials/)**
- **Testimonials, grid**

A heading and a grid of quotes, each with a name and role.

## Import

- **CLI**

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

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

Also called

- testimonials/grid

- **Category**: What customers say, one quote or many. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: A heading and a grid of up to six quotes in boxed cards, each with a name and role. For many short voices without boxes use `testimonials-wall`, and for one big story `testimonial-quote`.
- **Writing for it**: - Quotes hold 300 characters and the cards stretch to equal height, so a mix of lengths is fine. Still, cut each to the single thing the customer said that you could not have written yourself.
- There is no photo field. An initials avatar is drawn from the name, so use a full name and not a team label.
- Role has 80 characters and sits under the name. Use job title and company in the form 'Head of ops, Northlight' to save a separate field.
- **Watch out for**: The grid is two columns on medium containers and three on wide ones. Five items leave a half-empty last row in both, so use four or six.

## Pairs well with

- **[Logos strip](/blocks/logo-cloud/row)**
- **[Features, grid](/blocks/features/grid)**
- **[Pricing, three tiers](/blocks/pricing/tiers)**

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

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <TestimonialsGrid props={{
          "eyebrow": "Name the section",
          "title": "Say what the quotes show, in one short line",
          "items": [
            {
              "quote": "Quote a customer, in their words, on the result they got and what it changed for them afterwards.",
              "name": "Name a person",
              "role": "Their role and their company"
            },
            {
              "quote": "Quote a customer, in their words, on the result they got and what it changed for them afterwards.",
              "name": "Name a person",
              "role": "Their role and their company"
            },
            {
              "quote": "Quote a customer, in their words, on the result they got and what it changed for them afterwards.",
              "name": "Name a person",
              "role": "Their role and company"
            }
          ]
        }} />
      </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.

- **eyebrow**: Text, up to 60 characters.
- **title**: Text, up to 120 characters.
- **description**: Text, up to 300 characters. Optional; empty is not rendered.
- **header**: One of 'start', 'center'. Optional; empty is not rendered.
- **avatars**: Optional; empty is not rendered.
- **action**: Optional; empty is not rendered.
- **items**: List of 1 to 9. Each item: quote, name, role (optional), source (optional), href (optional).
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/testimonials/cover)

[Next](/blocks/testimonials/list)
