Case Results
ProNewPast results with the outcome leading each row in a serif, then the kind of result, the matter and the court, ending in the notice bar rules expect beside advertised results.
Installation
pnpm dlx shadcn@latest add @viewport/case-results
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 |
|---|---|---|
| title | string | "Representative results" |
| results* | CaseResult[] | — |
| disclaimer | string | nullThe notice most bar rules require beside past results. Pass `null` only where no notice is needed. | "Past results do not guarantee a similar outcome. Every matter is different and must be judged on its own facts." |
Accessibility
- An ordered list under a heading.
- The past-results notice is on by default and is plain text.
- Rows stack by the container's width.
- No client JavaScript.