← Go back
Share

Git Diff


Usage:

React Code:

npm install @mynaui/icons-react
import { GitDiff } from "@mynaui/icons-react";

const App = () => {
  return <GitDiff />;
};

SVG HTML:

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><path d="M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6m0-6V7.5a2 2 0 0 0-2-2h-2.5"/><path d="M14.5 8 12 5.5 14.5 3M6 3a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 6v7.5a2 2 0 0 0 2 2h2.5"/><path d="m9.5 16 2.5 2.5L9.5 21"/></svg>

SVG CDN:

<img src="https://unpkg.com/@mynaui/icons/icons/git-diff.svg" />

SVG Sprite:

npm install @mynaui/icons
<svg
        width="24"
        height="24"
        fill="none"
        viewBox="0 0 24 24"
        stroke-width="1.5"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke="currentColor"
      >
        <use xlink:href="/path/to/mynaui.symbol.svg#mynaui-git-diff"></use></svg
      >