file diff icon
file-diff-24 from Octicons by GitHub · 24 · MIT Free for personal and commercial use.
- Name
- file-diff-24
- Set
- Octicons
- Style
- 24
- Viewbox
- 24×24
- License
- MIT
1 other variant in Octicons
The same icon in other sets
Related icons in Octicons
Use the file diff icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12.5 6.75a.75.75 0 0 0-1.5 0V9H8.75a.75.75 0 0 0 0 1.5H11v2.25a.75.75 0 0 0 1.5 0V10.5h2.25a.75.75 0 0 0 0-1.5H12.5zM8.75 16a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5z"/><path fill="currentColor" d="M5 1h9.982a2 2 0 0 1 1.414.586l4.018 4.018A2 2 0 0 1 21 7.018V21a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2m-.5 2v18a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5V7.018a.5.5 0 0 0-.146-.354l-4.018-4.018a.5.5 0 0 0-.354-.146H5a.5.5 0 0 0-.5.5"/></svg>
React
import type { SVGProps } from "react";
export function OcticonFileDiff24(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12.5 6.75a.75.75 0 0 0-1.5 0V9H8.75a.75.75 0 0 0 0 1.5H11v2.25a.75.75 0 0 0 1.5 0V10.5h2.25a.75.75 0 0 0 0-1.5H12.5zM8.75 16a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5z"/><path fill="currentColor" d="M5 1h9.982a2 2 0 0 1 1.414.586l4.018 4.018A2 2 0 0 1 21 7.018V21a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2m-.5 2v18a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5V7.018a.5.5 0 0 0-.146-.354l-4.018-4.018a.5.5 0 0 0-.354-.146H5a.5.5 0 0 0-.5.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12.5 6.75a.75.75 0 0 0-1.5 0V9H8.75a.75.75 0 0 0 0 1.5H11v2.25a.75.75 0 0 0 1.5 0V10.5h2.25a.75.75 0 0 0 0-1.5H12.5zM8.75 16a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5z"/><path fill="currentColor" d="M5 1h9.982a2 2 0 0 1 1.414.586l4.018 4.018A2 2 0 0 1 21 7.018V21a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2m-.5 2v18a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5V7.018a.5.5 0 0 0-.146-.354l-4.018-4.018a.5.5 0 0 0-.354-.146H5a.5.5 0 0 0-.5.5"/></svg> </template>
CSS
.icon-file-diff-24 {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.5%206.75a.75.75%200%200%200-1.5%200V9H8.75a.75.75%200%200%200%200%201.5H11v2.25a.75.75%200%200%200%201.5%200V10.5h2.25a.75.75%200%200%200%200-1.5H12.5zM8.75%2016a.75.75%200%200%200%200%201.5h6a.75.75%200%200%200%200-1.5z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%201h9.982a2%202%200%200%201%201.414.586l4.018%204.018A2%202%200%200%201%2021%207.018V21a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V3a2%202%200%200%201%202-2m-.5%202v18a.5.5%200%200%200%20.5.5h14a.5.5%200%200%200%20.5-.5V7.018a.5.5%200%200%200-.146-.354l-4.018-4.018a.5.5%200%200%200-.354-.146H5a.5.5%200%200%200-.5.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.5%206.75a.75.75%200%200%200-1.5%200V9H8.75a.75.75%200%200%200%200%201.5H11v2.25a.75.75%200%200%200%201.5%200V10.5h2.25a.75.75%200%200%200%200-1.5H12.5zM8.75%2016a.75.75%200%200%200%200%201.5h6a.75.75%200%200%200%200-1.5z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%201h9.982a2%202%200%200%201%201.414.586l4.018%204.018A2%202%200%200%201%2021%207.018V21a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V3a2%202%200%200%201%202-2m-.5%202v18a.5.5%200%200%200%20.5.5h14a.5.5%200%200%200%20.5-.5V7.018a.5.5%200%200%200-.146-.354l-4.018-4.018a.5.5%200%200%200-.354-.146H5a.5.5%200%200%200-.5.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/octicon/file-diff-24.svg?color=%231a73e8&size=48