Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Diffs

free

Fast code diff and file rendering for React on Shiki: split or unified, virtualised, with annotations.

by Pierre Computer Company GitHub npm
visit
Diffs website

Try these

Shiki

Syntax highlighting with VS Code's grammars and themes: accurate, themeable code blocks.

Trees

A fast, searchable file tree for code browsers, from flat paths, as React or a web component.

Shaders

Composable GPU effect components for React, Vue and Svelte, stacked as layers in one canvas.

cmdk

Fast, unstyled React command menu with built-in fuzzy filtering.

For your agent

Install
npm i @pierre/diffs
Use it for
  • a code review or changes view that renders file diffs with syntax highlighting, split or unified
Skip it when
  • a static code sample with no diff: use shiki
  • editing code: use a code editor
What's inside15 free
  • CodeView
  • MultiFileDiff
  • PatchDiff
  • FileDiff
  • File
  • UnresolvedFile
  • Edit Mode
  • Line Annotations
  • Custom Hunk Separators
  • Token Hooks
  • Highlighters
  • Virtualization
  • Worker Pool
  • SSR
  • Theming
Facts
Frameworks
react, vanilla
Styling
unstyled
Weight
medium
Accessibility
ok
Maturity
stable
License
Apache-2.0
Price
Free
Pairs with
Alternatives
import { MultiFileDiff } from "@pierre/diffs/react"

<MultiFileDiff
  oldFile={{ name: "app.ts", contents: before }}
  newFile={{ name: "app.ts", contents: after }}
/>
Visit