Audit List
ProNewThe findings of an audit, worst first, with filters that carry counts and rows that open in place to say what was found and how to fix it.
Installation
pnpm dlx shadcn@latest add @viewport/audit-list
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| audits* | Audit[] | — |
| label | stringAccessible name, e.g. "SEO audits". | "Audits" |
| className | string | — |
Accessibility
- Each finding's status is read out with its title and shown as a shape.
- Rows that open are buttons that report their state; rows with nothing more are not.
- Filters are pressed-state buttons with counts.
- Respects prefers-reduced-motion.