File Diff icon
A hand-drawn file diff icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Files
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
file-diff
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX FileDiffIcon.tsx
import { SvgXml } from "react-native-svg";
const FileDiffIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M7.7 3L12.6 3C13.1 3.1 13.6 3.3 14 3.7L18.3 8C18.7 8.5 19 9 19 9.6L19 18.3C19 19.8 17.8 21 16.3 21L7.7 21C6.2 21 5 19.8 5 18.3L5 5.7C5 4.2 6.2 3 7.7 3Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M13.5 3.2L13.5 6.1C13.5 7.9 15 9.3 16.8 9.3L19 9.3"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 10L10.6 10M9.5 8.9L9.5 11.1" pathLength="1" stroke-dasharray="1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 15.4L10.6 15.4"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.6" y1="10" x2="17.4" y2="10"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.6" y1="15.4" x2="17.4" y2="15.4"></line></svg>`;
<SvgXml xml={FileDiffIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG file-diff.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M7.7 3L12.6 3C13.1 3.1 13.6 3.3 14 3.7L18.3 8C18.7 8.5 19 9 19 9.6L19 18.3C19 19.8 17.8 21 16.3 21L7.7 21C6.2 21 5 19.8 5 18.3L5 5.7C5 4.2 6.2 3 7.7 3Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M13.5 3.2L13.5 6.1C13.5 7.9 15 9.3 16.8 9.3L19 9.3"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 10L10.6 10M9.5 8.9L9.5 11.1" pathLength="1" stroke-dasharray="1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 15.4L10.6 15.4"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.6" y1="10" x2="17.4" y2="10"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.6" y1="15.4" x2="17.4" y2="15.4"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/file-diff.svg" width="24" height="24" alt="File Diff" />