Skip to content

Diff

The diff icon represents a difference or comparison between two versions or states.

Exports at 24 × 24 px

Diff icon from Codicons
Get Pro

Code

Diff in your framework

In any framework. Customize it above, and the code follows.

export const DiffIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16" {...props}>
    <path fill="currentColor" d="M5.5 2h-3C1.673 2 1 2.673 1 3.5v9c0 .827.673 1.5 1.5 1.5h3c.827 0 1.5-.673 1.5-1.5v-9C7 2.673 6.327 2 5.5 2m-3 1h3a.5.5 0 0 1 .5.5V5H2V3.5a.5.5 0 0 1 .5-.5m3 10h-3a.5.5 0 0 1-.5-.5V6h4v6.5a.5.5 0 0 1-.5.5m8-11h-3C9.673 2 9 2.673 9 3.5v9c0 .827.673 1.5 1.5 1.5h3c.827 0 1.5-.673 1.5-1.5v-9c0-.827-.673-1.5-1.5-1.5m-3 1h3a.5.5 0 0 1 .5.5V8h-4V3.5a.5.5 0 0 1 .5-.5m3 10h-3a.5.5 0 0 1-.5-.5V10h4v2.5a.5.5 0 0 1-.5.5"/>
  </svg>
);

Other libraries

Diff in 6 more libraries

Each library draws it its own way. Open one to compare.

Codicons

Icons that share its tags, in the same style.

  • Git Compare icon from Codicons
  • Debug Breakpoint Log icon from Codicons
  • Debug Breakpoint Log Unverified icon from Codicons
  • Diff Modified icon from Codicons
  • Edit icon from Codicons
  • File Submodule icon from Codicons
  • Rename icon from Codicons
  • Source Control icon from Codicons
  • Debug Reverse Continue icon from Codicons
  • Debug Start icon from Codicons
  • Debug Step Back icon from Codicons
  • Debug Step Into icon from Codicons
  • Debug Step Out icon from Codicons
  • Debug Step Over icon from Codicons
  • Debug Stop icon from Codicons
  • Eraser icon from Codicons
  • Git Pull Request Go To Changes icon from Codicons
  • History icon from Codicons
  • Key icon from Codicons
  • Remote icon from Codicons
  • Replace icon from Codicons
  • Replace All icon from Codicons
  • Stop Circle icon from Codicons
  • Verified icon from Codicons

Skip the copy and paste. With Pro, your AI agent finds and installs any Codicons icon from a prompt.

Get Pro

Pricing

Codicons MCP, with Pro

Ask for Diff or any of 538 Codicons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Diff icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Diff from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro