# Case study, story

- **[Sections](/blocks/)**
- **[Case study](/blocks/case-study/)**
- **Case study, story**

A narrative case study: headline, one wide photo, then two to four chapters side by side (Challenge, Approach, Result). Words first, no figure wall.

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/case-study-story
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/case-study-story';
  ```

Also called

- case-study/story

- **Category**: One customer story: the problem, the work, the result. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: A narrative case study with a wide photo and two to four chapters side by side, such as Challenge, Approach and Result. Words come first here; use `case-study-metrics` if numbers should lead.
- **Writing for it**: - Each chapter has a 30 character label, an 80 character title and 420 characters of text. Use the labels for the plot beats and the titles to state each one in a line.
- The picture is cropped very wide, at 21 to 9, so pick a landscape photo with the subject in the middle band.
- The client name (60 characters) is a small line over the title, and the title (140 characters) should be the outcome in plain words.
- **Watch out for**: Three chapters become three columns and four chapters become four columns only on very wide containers, otherwise two. Chapter texts of 420 characters in four columns get tall and narrow, so keep them shorter there.

## Pairs well with

- **[Case studies, cards](/blocks/case-study/card)**
- **[Testimonial, quote](/blocks/testimonials/quote)**
- **[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 CaseStudyStory from '@/components/klarhimmel/blocks/case-study-story';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <CaseStudyStory props={{
          "eyebrow": "Name the section",
          "client": "Name a client",
          "title": "Say how the client went from one state to another",
          "media": {
            "src": "/pictures/photo-brk1.avif",
            "alt": "A breakfast plate of fruit with orange juice"
          },
          "chapters": [
            {
              "label": "Name it",
              "title": "Name the problem in a few words",
              "text": "Say in two sentences what the client faced, how they worked and why they could not see it in time. Be concrete about what was missing."
            },
            {
              "label": "Name it",
              "title": "Name the approach in a few words",
              "text": "Say in two sentences what the client changed first, what they published and what they left alone. Keep it concrete."
            },
            {
              "label": "Name it",
              "title": "Name the result in a few words",
              "text": "Say in two sentences what the result was after a season, who it came from and what it replaced. Keep it concrete."
            }
          ],
          "link": {
            "label": "Read about this case",
            "href": "/customers/client"
          }
        }} />
      </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.
- **client**: Text, up to 60 characters.
- **title**: Text, up to 140 characters.
- **media**: See the type.
- **chapters**: List of 2 to 4. Each item: label, title, text.
- **link**: See the type.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/case-study/problem-solution)

[Next](/blocks/stats/band)
