Skip to content

Diff

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

Add shadcn.io to your AI agent. · Pro It installs Diff, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Diff icon from Codicons
Get Pro

538 in CodiconsCC BY 4.0 license (opens in a new tab)Free to copy and download

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.

  • Diff icon from Lucide
  • Diff icon from File Icons
  • Diff icon from Octicons
  • Diff icon from Pico-icon
  • Diff icon from ProIcons
  • Diff icon from Charm Icons

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

Tags

Browse by tag

Diff is tagged change, comparison, log and 1 more. Related tags follow; each opens its icons from every library.

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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install Diff from a prompt

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

Get Pro