gentleface

Gentleface › Files & folders › file-diff

file-diff icon

File diff: file diff, patch file, file changes, request changes. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L5 15C4.692 15 4.4 14.933 4.124 14.798C3.999 14.737 3.915 14.642 3.87 14.511C3.825 14.381 3.833 14.253 3.893 14.129C3.917 14.08 3.946 14.037 3.981 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 4.5C4 4.641 3.952 4.759 3.856 4.856C3.759 4.952 3.641 5 3.5 5C3.359 5 3.241 4.952 3.144 4.856C3.048 4.759 3 4.641 3 4.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM6.856 8.144C6.952 8.241 7 8.359 7 8.5C7 8.641 6.952 8.759 6.856 8.856C6.759 8.952 6.641 9 6.5 9L5 9L5 10.5C5 10.641 4.952 10.759 4.856 10.856C4.759 10.952 4.641 11 4.5 11C4.359 11 4.241 10.952 4.144 10.856C4.048 10.759 4 10.641 4 10.5L4 9L2.5 9C2.359 9 2.241 8.952 2.144 8.856C2.048 8.759 2 8.641 2 8.5C2 8.359 2.048 8.241 2.144 8.144C2.241 8.048 2.359 8 2.5 8L4 8L4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6C4.641 6 4.759 6.048 4.856 6.144C4.952 6.241 5 6.359 5 6.5L5 8L6.5 8C6.641 8 6.759 8.048 6.856 8.144ZM2.144 12.144C2.241 12.048 2.359 12 2.5 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5C2 12.359 2.048 12.241 2.144 12.144Z"/></svg>
React
// Gentleface "file-diff" (line-round), MIT. https://gentleface.com/icons/file-diff
import type { SVGProps } from 'react';

export function FileDiffIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L5 15C4.692 15 4.4 14.933 4.124 14.798C3.999 14.737 3.915 14.642 3.87 14.511C3.825 14.381 3.833 14.253 3.893 14.129C3.917 14.08 3.946 14.037 3.981 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 4.5C4 4.641 3.952 4.759 3.856 4.856C3.759 4.952 3.641 5 3.5 5C3.359 5 3.241 4.952 3.144 4.856C3.048 4.759 3 4.641 3 4.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM6.856 8.144C6.952 8.241 7 8.359 7 8.5C7 8.641 6.952 8.759 6.856 8.856C6.759 8.952 6.641 9 6.5 9L5 9L5 10.5C5 10.641 4.952 10.759 4.856 10.856C4.759 10.952 4.641 11 4.5 11C4.359 11 4.241 10.952 4.144 10.856C4.048 10.759 4 10.641 4 10.5L4 9L2.5 9C2.359 9 2.241 8.952 2.144 8.856C2.048 8.759 2 8.641 2 8.5C2 8.359 2.048 8.241 2.144 8.144C2.241 8.048 2.359 8 2.5 8L4 8L4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6C4.641 6 4.759 6.048 4.856 6.144C4.952 6.241 5 6.359 5 6.5L5 8L6.5 8C6.641 8 6.759 8.048 6.856 8.144ZM2.144 12.144C2.241 12.048 2.359 12 2.5 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5C2 12.359 2.048 12.241 2.144 12.144Z" />
    </svg>
  );
}
Vue
Vue: see /icons/file-diff.md
Svelte
Svelte: see /icons/file-diff.md
HTML img
HTML img: see /icons/file-diff.md
CSS
CSS: see /icons/file-diff.md
Data URL
Data URL: see /icons/file-diff.md
Sprite
Sprite: see /icons/file-diff.md
SwiftUI
SwiftUI: see /icons/file-diff.md
Compose
Compose: see /icons/file-diff.md
Android XML
Android XML: see /icons/file-diff.md
Flutter
Flutter: see /icons/file-diff.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { FileDiffIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
file diff, patch file, file changes, request changes, changes requested, redline, track changes, tracked changes, engineering change
Alternatives
  • diff: a diff or patch without the file (diff)
  • git-compare: compare two branches (compare-branches)
  • compare: compare two items side by side (compare)
Also fits
  • diff: a diff or patch file (patch-file)
Tags
document, diff, patch, changes, compare, plus-minus, git, file
Category
Files & folders
Component name
FileDiffIcon
History
  • added
  • released in 0.1.0
  • changed in 0.2.0
  • 20 px drawn, 24 px drawn
  • 20 px redrawn, 16 px redrawn
Since
version 0.1.0

Family 84

More files & folders icons

For agents

Metadata: /icons/file-diff.json · Markdown: /icons/file-diff.md · SVG: https://gentleface.com/svg/{style}/16/file-diff.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/file-diff.png