1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. goodui
  3. Diff View

Diff View

component

Unified or split diff computed from before and after text, with old/new gutters, syntax colors, changed-character highlights inside replaced lines, and Accept or Reject per hunk that collapses the discarded lines.

pnpm dlx shadcn@latest add "https://goodui.dev/r/diff-view.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • lucide-react
  • motion
  • code-block
  • goodui-motion
  • locale
components/goodui/diff-view.tsx