Ai Tool Result Diff
A production-scale, light + dark Ai Tool Result Diff component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-tool-result-diffUsage
import { AIToolResultDiff } from "@lerpa/ui";
<AIToolResultDiff />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| toolName | string | — | |
| status | "ok" | "warn" | "error" | — | |
| before | string[] | — | |
| after | string[] | — | |
| accent | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.