AI & Agents
Diff View
The result of an edit tool call: file, added and removed lines, and the changed code.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { DiffView } from "@wunderui/react"In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Edit tool call in a run
The agent's edit_file call as it appears in the transcript: what it changed, folded open.