# Stats, split

- **[Sections](/blocks/)**
- **[Stats](/blocks/stats/)**
- **Stats, split**

Heading and one oversized headline figure on the left, two to four supporting numbers in a hairline grid on the right. Use when one number matters more than the rest.

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/stats-split
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/stats-split';
  ```

Also called

- stats/split

- **Category**: A few numbers that prove the point. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: A heading and one oversized headline figure on the left, with two to four supporting numbers on the right. Use it when one number matters more than the rest; `stats-row` is the version where all are equal.
- **Writing for it**: - The highlight value holds 20 characters and is drawn at display size in the accent colour. Choose the one number you would say out loud first.
- The highlight note (160 characters) is optional and good for the source or time frame of that figure.
- The supporting items take a 20 character value and an 80 character label each, and two to four fit in a two-column grid.
- **Watch out for**: The highlight is not repeated in the item list, so do not put the same number in both. With an odd number of supporting items the grid on the right has one empty cell.

## Pairs well with

- **[Hero, split](/blocks/hero/split)**
- **[Case study, metrics](/blocks/case-study/metrics)**
- **[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 StatsSplit from '@/components/klarhimmel/blocks/stats-split';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <StatsSplit props={{
          "eyebrow": "Name the topic",
          "title": "Say what the numbers mean for the reader",
          "description": "Say what the figures are measured across and over what time.",
          "highlight": {
            "value": "00%",
            "label": "Name the main measure",
            "note": "Say how it changed from the year before."
          },
          "items": [
            {
              "value": "0.0 h",
              "label": "Name the first result"
            },
            {
              "value": "−00%",
              "label": "Name the second result"
            },
            {
              "value": "0.0 / 5",
              "label": "Name the third measure"
            },
            {
              "value": "00 min",
              "label": "Name the fourth measure"
            }
          ]
        }} />
      </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.
- **highlight**: Fields: value, label, note.
- **items**: List of 2 to 4. Each item: value, label.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/stats/row)

[Next](/blocks/testimonials/quote)
