# Report, decisions

- **[Sections](/blocks/)**
- **[Report](/blocks/report/)**
- **Report, decisions**

Numbered decisions for the reader. Each has a question, an optional recommended option, the other options and why, so the answer can be "yes to all except 2".

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/report-decisions
  ```
- **Import**

  ```
  import Block from '@/components/klarhimmel/blocks/report-decisions';
  ```

Also called

- report/decisions

- **About**: Numbered decisions for the reader. Each has a question, an optional recommended option, the other options and why, so the answer can be "yes to all except 2". With an id on a card, the reader can answer on the page (see the report kit).
- **Category**: A document for a reader: key figures, decisions with a recommended default, long-cell tables, timelines, callouts, sources and prose. Rendered to one HTML file by kh-report. New project? Set it up once: /get-started/installation.

## Notes

- **When to use it**: Numbered questions that need an answer from the reader, each with a recommended default so the reply can be "yes to all except 2". Use `report-callout` for a single heads-up that needs no reply, and `report-table` when you compare options without asking for a choice.
- **Writing for it**: - Write each question so it can be answered alone. It holds 240 characters and renders as the card's heading, so the card has to make sense when quoted in a reply.
- Put your own pick in recommended (400 characters) when you have one; leave it empty and nothing is preselected or ever defaulted. List only the real alternatives in options, up to six. If an option repeats the recommended one, the form shows it once.
- Use why (700 characters) for the cost of choosing wrong. Give a card an id, plus seat and session, only if it should be answerable on the page; the form then sends the reply with that address.
- **Watch out for**: A card with an id turns into a form, and then the recommended text, the options list and the reply hint are shown as radio choices instead. A card without an id is read-only, and reply (60 characters) is shown only there.

## Pairs well with

- **[Report, header](/blocks/report/header)**
- **[Report, prose](/blocks/report/prose)**
- **[Report, sources](/blocks/report/sources)**

## 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 ReportDecisions from '@/components/klarhimmel/blocks/report-decisions';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ReportDecisions props={{
          "title": "Name what is being asked",
          "lead": "Say how the reader answers and sends",
          "items": [
            {
              "question": "Ask the first question",
              "recommended": "Say the recommended option, with why",
              "options": [
                "Name another option"
              ],
              "why": "Say why, in a sentence or two, so the reader can decide",
              "reply": "",
              "id": "D-20261010-sample-1",
              "version": "1",
              "seat": "library",
              "repo": "ui",
              "session": "",
              "askedAt": "2026-10-10T14:00:00Z"
            },
            {
              "question": "Ask the second question, as a choice",
              "recommended": "Say the recommended option",
              "options": [
                "Name an option",
                "Name another option"
              ],
              "why": "Say why, in a sentence or two, so the reader can decide",
              "reply": "",
              "id": "D-20261010-sample-2",
              "version": "1",
              "seat": "library",
              "repo": "ui",
              "session": "",
              "askedAt": "2026-10-10T14:00:00Z"
            }
          ],
          "replyHint": "Say how to answer several cards at once, with an example"
        }} />
      </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 100 characters.
- **lead**: Text, up to 400 characters.
- **items**: List of 1 to 12. Each item: question, recommended, options, why, reply, href (optional), kind (optional), id, version, seat, repo, session, askedAt.
- **replyHint**: Text, up to 200 characters.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/report/callout)

[Next](/blocks/report/figure)
