Iconaut dice-one icon, line, with native fits at 16/20/24px. MIT.
Iconaut dice-one icon, line, with native fits at 16/20/24px. MIT.
Iconaut dice-one icon, duotone, with native fits at 16/20/24px. MIT.
Iconaut dice-one icon, solid, with native fits at 16/20/24px. MIT.
Animated dices icon for Vue
Shows the changes to a file as a unified or split diff — line numbers, added and removed lines, +/- counts in the header and syntax highlighting — from a patch or from two versions of the file.
Animated Code Diff: a code change applies itself, with Keep and Undo. A take on the code diff (code review). Fits features and changelog sections.
One line of a diff, with line numbers and screen-reader text.
A decision per hunk before anything lands. J and K move, Y and N decide.
Reviews agent-proposed field edits with explicit per-change decisions.
Accept or reject an agent's edits hunk by hunk; decided hunks fold into a tick.
Shows a change to a piece of text where it stands: removed words are struck through and close up, added words grow in with a passing tint, and then it settles. With `keep`, the marks stay for review.
A line-addressable unified-diff viewer, split or unified, that swaps red/green blocks for a thin left-rail marker and a muted gutter glyph (colorblind-safe by construction), plus a widget slot for attaching an AI annotation or review comment to any line address.
React code diff viewer that tints added lines green and removed lines red with plus and minus gutters, context lines and an optional filename header.
A proposed change shown as a unified or side-by-side diff, with optional accept and reject controls.
A line-by-line diff of two strings — the before/after view a screen needs when it has to show what changed: a config or settings change, a record edited in an admin panel, a document revision, a webhook payload against the last one, an audit-log entry, a restored backup next to what is live, or the edit an AI agent is proposing before the user accepts it. Common asks it answers: "react diff component", "diff viewer react", "show what changed between two strings", "before and after comparison react", "git style diff in react", "unified diff component", "side by side diff react", "split diff view", "react-diff-viewer alternative", "diff2html alternative", "jsdiff without the rendering", "diff two json strings visually", "show config changes in an admin panel", "audit log before and after", "document revision comparison", "review an AI agent's proposed edit before accepting it", "collapse unchanged lines in a diff", "colorblind accessible diff", "diff in a react server component", "diff without a client bundle". Pass before and after and it renders a git-style diff, unified by default or side by side with view="split". Unchanged lines collapse into a counted gap, so a 400-line file with a three-line change shows three lines and a summary instead of 400; context sets how many surrounding lines survive and context={Infinity} shows the whole text. Both line-number gutters are select-none, so selecting the diff copies the code and not a column of numbers. CRLF and LF are folded together, because a file that changed only its line endings would otherwise report every single line as rewritten. It is meaning-first rather than colour-first: every changed row carries a + or - sign and a screen-reader-only "Added line:" / "Removed line:" prefix, so the diff still reads for someone who cannot tell the red and green backgrounds apart — conveying the change by colour alone, which fails WCAG 1.4.1, is the single most common defect in a hand-rolled diff. The table also gets an sr-only caption stating how many lines were added and removed. The diff is a longest-common-subsequence over lines with the shared prefix and suffix trimmed off first, which keeps a large document with a small edit fast (a 4,000-line file with one changed line diffs in well under a millisecond) and makes an appended line read as appended instead of shifting everything by one. Pathologically large inputs degrade to "this block was replaced" rather than allocating a table of hundreds of megabytes during a render. No dependencies, no diff library and no hooks, so it renders inside a React server component without a "use client" of its own and ships no client JavaScript — which is the common case, because the text being compared has usually just been fetched on the server. Official shadcn/ui has no diff component of any kind — the string "diff" is zero hits across all 62 of its fetchable items (measured 2026-09-27): its table is an unstyled table and its chart is a Recharts wrapper, and neither computes or displays a change. Distinct from the pulld pieces it sits beside: code-block shows one snippet with its own copy button and makes no claim about change, json-viewer explores a single object by folding it, ansi-log replays terminal output with its colour codes intact, highlight-text marks matches inside one string, read-more truncates one passage, and image-comparison is the same before/after question asked of two pictures with a slider rather than of two texts line by line.
Render code diffs with highlighted additions and deletions.
Unified or split diffs with word-level marks and folds that open in steps.
A unified line diff. The +/− gutter is the primary channel and the green/red wash the secondary , colour alone fails 1.4.1, and the gutter is also the only channel that survives greyscale. Ships `diffLines`, with a guard: LCS is O(n·m) in MEMORY.
Suggested diagnoses ranked by model confidence, as shadcn Items, each with the findings for and against it.
Dify logo with variant support
Animated digestion icon for Vue
Animated digg icon for Vue
One-time code boxes that read Western, Arabic-Indic and Persian digits, typed or pasted.
A numeric field with rolling digits, keyboard stepping and horizontal scrub-to-change.
Showing 8,881–8,904 of 30,794
Showing 8,881–8,904 of 30,794