Audit, overview


Install
npx shadcn add @klarhimmel/report-audit-overviewDetailsAbout, usage, props and more
A scored audit summary with scope, limitations and source provenance. An unassessed result is never rendered as zero.
Import
Import
- 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
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | 'Name the report type' | Text, up to 60 characters. |
title | string | 'Name the audit and its subject' | Text, up to 120 characters. |
description | string | 'Say what was checked, for whom and …' | Text, up to 300 characters. |
score | number | 68 | See the type. |
scoreLabel | string | 'Name the score' | Text, up to 60 characters. |
unavailable | string | 'Not assessed' | Text, up to 100 characters. |
verdict | string | 'Say the verdict in one sentence, wi…' | Text, up to 160 characters. |
facts | { label, value }[] | 3 items | List of up to 6. Each item: label, value. |
source | string | 'Say where the data came from' | Text, up to 100 characters. |
sourceNote | string | 'Say what is excluded and that this …' | Text, up to 200 characters. |
action | Link | {…} | See the type. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |