Clow

Diff Card

A single-sheet git-style diff on paper: +/− gutter marks, soft success/destructive washes, auto stats. No drag seam (see Code Comparison for that).

Draw

draw a card
$npx shadcn@latest add @clow/diff-card
First time? Point @clow at the registry

Once per project, add the registry to your components.json. Then draw any card by name.

"registries": {
  "@clow": "https://clow.cards/r/{name}.json"
}
Full setup →

Playground

props
<DiffCard />

Examples

basic

Props

proptypedefault
filenametexthero.tsx
showLineNumbersbooleantrue