Skip to content

Diff

The diff icon represents a difference or change between two states, often used in version control and file comparison.

Exports at 20 × 24 px

Diff icon from Octicons
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="20" height="24" viewBox="0 0 13 16" {...props}>
    <path fillRule="evenodd" d="M6 7h2v1H6v2H5V8H3V7h2V5h1v2zm-3 6h5v-1H3v1zM7.5 2L11 5.5V15c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h6.5zM10 6L7 3H1v12h9V6zM8.5 0H3v1h5l4 4v8h1V4.5L8.5 0z" fill="currentColor"/>
  </svg>
);

Other libraries

Diff in 6 more libraries

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

Octicons

Icons that share its tags, in the same style.

  • Diff  16 icon from Octicons
  • Diff  24 icon from Octicons
  • Diff Added icon from Octicons
  • Diff Added  16 icon from Octicons
  • Diff Added  24 icon from Octicons
  • Diff Ignored icon from Octicons
  • Diff Ignored  16 icon from Octicons
  • Bookmark Filled  16 icon from Octicons
  • Bookmark Slash  16 icon from Octicons
  • Bookmark Slash  24 icon from Octicons
  • Boolean Off  16 icon from Octicons
  • Boolean Off  24 icon from Octicons
  • Boolean On  16 icon from Octicons
  • Boolean On  24 icon from Octicons
  • Briefcase icon from Octicons
  • Dice  16 icon from Octicons
  • Dice  24 icon from Octicons
  • Kebab Horizontal  24 icon from Octicons
  • Kebab Vertical icon from Octicons
  • Hash  16 icon from Octicons
  • Hash  24 icon from Octicons
  • Heading  16 icon from Octicons
  • Shield X  16 icon from Octicons
  • Shield X  24 icon from Octicons

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

Get Pro

Pricing

Octicons MCP, with Pro

Ask for Diff or any of 901 Octicons 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