Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Audit List

ProNew

The 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

PropTypeDefault
audits*Audit[]—
labelstring

Accessible name, e.g. "SEO audits".

"Audits"
classNamestring—

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.