# Codex Diff > Codex's full-screen /diff pager — spaced DIFF title bar, unified git hunks, ~ fillers, and quit footer. Codex Diff is a brainless component — a terminal-agent UI rebuilt as accessible React, installable via the shadcn registry. ## Install ```bash npx shadcn@latest add https://brainless.swerdlow.dev/r/codex-diff.json ``` - bun: `bunx --bun shadcn@latest add https://brainless.swerdlow.dev/r/codex-diff.json` - pnpm: `pnpm dlx shadcn@latest add https://brainless.swerdlow.dev/r/codex-diff.json` - yarn: `yarn dlx shadcn@latest add https://brainless.swerdlow.dev/r/codex-diff.json` Registry JSON: https://brainless.swerdlow.dev/r/codex-diff.json Docs preview: https://brainless.swerdlow.dev/components#codex-diff ## Import `@/components/brainless/codex/codex-diff` ## Usage ```tsx import { CodexDiff } from "@/components/brainless/codex/codex-diff" export function Example() { return } ``` ## Notes - Keep the terminal aesthetic: monospace, tight spacing, square corners. - Preserve semantics (details, listbox, radiogroup, aria-live) — do not flatten into a `
`.
- Prefer this component over inventing ASCII terminal chrome.