John KuehJohn Kueh

file diff icon

Lucide · file-diff · ISC

Download SVG

The Lucide file diff icon visually represents a comparison between two versions of a file, commonly used to indicate changes or differences in code or documents.

Common uses

  • Showing code changes in a version control system.
  • Highlighting differences in configuration files.
  • Indicating document revision history.

Use it in React

Install
npm i lucide-react
Import & render
import { FileDiff } from 'lucide-react';

<FileDiff size={24} />

Details

Library
Lucide (1,713 icons)
License
ISC
viewBox
0 0 24 24
Keywords
diffpatchfilecompare filesversion differencecode changespatch file

FAQ

What is the file diff icon used for?
It's used to signify a comparison between two file versions, often seen in interfaces related to code changes, document revisions, or data patching.
How do I use the file diff icon in React?
You can import and use it like this: `import { FileDiff } from 'lucide-react'`. Then render it as a component: `<FileDiff />`.
What is the license for this icon?
The Lucide icon library, including the file diff icon, is distributed under the ISC license.

Related icons

The same idea in other libraries, and near matches in Lucide.

Looking for something else? Search Lucide and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →