# Audit, overview

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

A scored audit summary with scope, limitations and source provenance. An unassessed result is never rendered as zero.

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/report-audit-overview
  ```
- **Import**

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

Also called

- report/audit-overview

- **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**: Open a scored website report with the verdict, sample scope and source caveat in one place. Use report-header when the document has no scored assessment.
- **Writing for it**: - Name the assessed property and record the sampled page count in facts rather than implying a complete crawl. The sourceNote should say when the sample was taken and what its limitations are.
- Supply a score only when the host has enough completed checks to calculate it. A null score means unassessed; a numeric zero remains a measured result.
- **Watch out for**: The ring does not calculate an aggregate or decide which checks count. Keep aggregation rules in your audit service, and point the action at a section or destination that actually exists.

## Pairs well with

- **[Audit, module scores](/blocks/report/audit-modules)**
- **[Audit, recommendations](/blocks/report/audit-recommendations)**

## 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 ReportAuditOverview from '@/components/klarhimmel/blocks/report-audit-overview';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <ReportAuditOverview props={{
          "eyebrow": "Name the report type",
          "title": "Name the audit and its subject",
          "description": "Say what was checked, for whom and on what basis, and what the result does and does not tell.",
          "score": 68,
          "scoreLabel": "Name the score",
          "unavailable": "Not assessed",
          "verdict": "Say the verdict in one sentence, with what comes first.",
          "facts": [
            {
              "label": "Fact one",
              "value": "First value"
            },
            {
              "label": "Fact two",
              "value": "Second value"
            },
            {
              "label": "Fact three",
              "value": "Third value"
            }
          ],
          "source": "Say where the data came from",
          "sourceNote": "Say what is excluded and that this is a point in time.",
          "action": {
            "label": "Say where the action leads",
            "href": "#recommendations"
          }
        }} />
      </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.
- **score**: See the type.
- **scoreLabel**: Text, up to 60 characters.
- **unavailable**: Text, up to 100 characters.
- **verdict**: Text, up to 160 characters.
- **facts**: List of up to 6. Each item: label, value.
- **source**: Text, up to 100 characters.
- **sourceNote**: Text, up to 200 characters.
- **action**: See the type.
- **headingLevel**: One of '1', '2'. Optional; empty is not rendered.

[Previous](/blocks/report/audit-modules)

[Next](/blocks/report/audit-recommendations)
