Skip to content
shadcn.io

Diff

The diff icon represents a comparison or contrast between two or more items, often used to highlight differences or changes.

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 ProIcons
Get Pro

545 in ProIconsMIT 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 24 24" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M5 10.25h7m0 0h7m-7 0v-7m0 7v7m-7 3.5h14"/>
  </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 Codicons
  • Diff icon from Charm Icons

ProIcons

Icons that share its tags, in the same style.

  • Branch Compare icon from ProIcons
  • Branch icon from ProIcons
  • Branch Fork icon from ProIcons
  • Branch Fork  2 icon from ProIcons
  • Branch Pull Request icon from ProIcons
  • Git Commit icon from ProIcons
  • Accessibility icon from ProIcons
  • Arrow Swap icon from ProIcons
  • Braces Variable icon from ProIcons
  • Brackets icon from ProIcons
  • Code icon from ProIcons
  • Code Square icon from ProIcons
  • Compare Size icon from ProIcons
  • Copy Var icon from ProIcons
  • Github icon from ProIcons
  • Gitlab icon from ProIcons
  • Html icon from ProIcons
  • Javascript icon from ProIcons
  • Kotlin icon from ProIcons
  • Layers icon from ProIcons
  • Linux icon from ProIcons
  • Nodejs icon from ProIcons
  • Npm icon from ProIcons
  • Open Source icon from ProIcons

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

Get Pro

Tags

Browse by tag

Diff is tagged development, version-control, change and 2 more. Related tags follow; each opens its icons from every library.

Pricing

ProIcons MCP, with Pro

Ask for Diff or any of 545 ProIcons 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