200
A pull request review with a file tree, split or unified diffs with word-level highlights, inline threads you can reply to and resolve, Viewed checkboxes that fold files away, and an approve or request-changes panel.
akapull request·code review·diff
Run this in any project set up for the shadcn CLI. It copies the Code Review source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/code-review.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { CodeReview } from "@/components/code-review";
export default function Page() {
return <CodeReview />;
}A free React screen in the Dev collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Code Review source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| title | string | "Park poison messages after three failed attempts" |
| number | number | 482 |
| author | string | "sam" |
| base | string | "main" |
| head | string | "sam/dead-letter-queue" |
| me | string | "maya" |
| people | ReviewPerson[] | defaultPeople |
| files | DiffFile[] | defaultFiles |
| threads | ReviewThread[] | defaultThreads |
| className | string | — |