softicons.dev

file diff icon

Free file diff SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons files set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z"/>
  <polyline points="14 2 14 8 20 8"/>
  <path d="M12 13v-4"/>
  <path d="M10 11h4"/>
  <path d="M10 16h4"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/files/file-diff.svg"
     width="24" height="24" alt="file diff icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { FileDiffIcon } from "@softicons/react";

export default function Example() {
  return <FileDiffIcon size={24} strokeWidth={2} />;
}
<script setup>
import { FileDiffIcon } from "@softicons/vue";
</script>

<template>
  <FileDiffIcon :size="24" :stroke-width="2" />
</template>
import { FileDiffIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [FileDiffIconComponent],
  template: `<file-diff-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}