Git commit vertical icon

New Added in v0.7.0

A free pencil-style git commit vertical icon, drawn by code from 1 circle and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.

git-commit-vertical

01Use it

Use git-commit-vertical

One package, four ways in. The icon inherits currentColor and is decorative unless you give it a title. Install it with npm i @matita/icons.

React

import { GitCommitVertical } from '@matita/icons/react';

<GitCommitVertical size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="git-commit-vertical" />

JavaScript

import { GitCommitVertical, toSvg } from '@matita/icons';

toSvg(GitCommitVertical, { size: 24 });   // SVG string

SVG

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" overflow="visible" class="sketch-icon sketch-icon-git-commit-vertical" data-sketch="" aria-hidden="true"><path d="M8.84 10.45C8.97 10.27 9.32 9.67 9.63 9.35C9.94 9.04 10.31 8.77 10.7 8.58C11.09 8.38 11.54 8.2 11.97 8.18C12.4 8.17 12.85 8.34 13.27 8.49C13.7 8.65 14.16 8.82 14.5 9.12C14.84 9.43 15.13 9.88 15.31 10.32C15.5 10.75 15.59 11.26 15.63 11.74C15.68 12.22 15.69 12.75 15.57 13.22C15.45 13.69 15.19 14.14 14.91 14.54C14.62 14.94 14.28 15.35 13.87 15.6C13.47 15.86 12.96 16.01 12.49 16.06C12.02 16.11 11.51 16.03 11.06 15.9C10.6 15.77 10.13 15.58 9.74 15.3C9.34 15.01 8.97 14.63 8.69 14.22C8.41 13.8 8.18 13.28 8.08 12.78C7.98 12.28 8.02 11.71 8.11 11.2C8.19 10.68 8.51 9.94 8.59 9.69" stroke-width="1.472"/><path d="M12.03 2.3Q12.3 5.46 12.15 8.62" stroke-width="1.568"/><path d="M11.95 15.07Q12.25 18.53 12.04 21.99" stroke-width="1.68"/></svg>

Pencil variant

import '@matita/icons/pencil.css';
import { GitCommitVertical } from '@matita/icons/react';

<GitCommitVertical size={32} pencil />

The file is icons/git-commit-vertical.svg in the package (pencil/git-commit-vertical.svg for the pencil variant). Matita 0.7.0.

02How it's drawn

The recipe for git-commit-vertical

Git commit vertical is not stored as a drawing. It is a recipe of 1 circle and 2 lines on a 24 by 24 grid, and a small program draws it like a pencil would. The wobble comes from the name, so it always comes out the same.

A · Recipe
C 12 12 3.5;
L 12 2.5 12 8.5;
L 12 15.5 12 21.5
B · Plotted
C · Drawn
How it works

03Takes, sizes, pencil

Same icon, every way

Pass a seed for another take of the same recipe. The wobble is capped, so it still reads at 16 px.

seed 0
seed 1
seed 2
seed 3
seed 4

Five seeds of git-commit-vertical. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

git-commit-vertical from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/git-commit-vertical.svg.

16 px
20 px
24 px
32 px
48 px
96 px

True pixel sizes.

Ink
Pencil