# Testimonials, cover

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

A full-width cover picture under a dark scrim with a big headline over it, and one white quote card (quote, name and role, one button) overlapping its lower part, to…

## Import

- **CLI**

  ```
  npx shadcn add https://ui.klarhimmel.com/r/testimonials-cover.json
  ```
- **Import**

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

Also called

- testimonials/cover

- **About**: A full-width cover picture under a dark scrim with a big headline over it, and one white quote card (quote, name and role, one button) overlapping its lower part, to the right on a wide screen and full width on a phone.
- **Category**: What customers say, one quote or many. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: A full-width cover picture under a dark scrim with a big headline over it and one white quote card overlapping its lower part. Use it for one strong customer quote and `testimonials-grid` for several.
- **Writing for it**: - Write the headline as the result in the customer's terms. It runs to two lines on a wide screen.
- Choose a cover picture that survives a dark scrim, since the headline is drawn in white over it.
- Put the quote in the speaker's words on the card, with their name and role and one button.
- **Watch out for**: The card sits to the right on a wide screen and full width on a phone. A very long quote makes the card cover most of the picture, so keep it to a few sentences.

## Pairs well with

- **[Hero, centered](/blocks/hero/centered)**
- **[Logos strip](/blocks/logo-cloud/row)**
- **[Call to action, band](/blocks/cta/banner)**

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

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <TestimonialsCover props={{
          "title": "Write one big heading that carries the point",
          "media": {
            "src": "/pictures/photo-florist1.avif",
            "alt": "A flower shop window in a brick building"
          },
          "quote": "Write a real customer quote, in the voice of the speaker, on what changed for them.",
          "name": "Name of the speaker",
          "role": "Their role at their company",
          "action": {
            "label": "Name the next step",
            "href": "#start"
          }
        }} />
      </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 90 characters.
- **media**: See the type.
- **quote**: Text, up to 240 characters.
- **name**: Text, up to 60 characters.
- **role**: Text, up to 80 characters.
- **action**: See the type.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/testimonials/carousel)

[Next](/blocks/testimonials/grid)
