History icon
A free pencil-style history icon, drawn by code from 1 arc, 1 line and 2 polylines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use history
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 { History } from '@matita/icons/react';
<History size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="history" />JavaScript
import { History, toSvg } from '@matita/icons';
toSvg(History, { size: 24 }); // SVG stringSVG
<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-history" data-sketch="" aria-hidden="true"><path d="M3.46 11.25C3.57 11.85 3.71 13.72 4.12 14.86C4.53 15.99 5.1 17.18 5.92 18.05C6.74 18.92 7.89 19.66 9.02 20.07C10.15 20.49 11.5 20.63 12.7 20.51C13.89 20.4 15.17 19.99 16.2 19.38C17.22 18.77 18.13 17.84 18.83 16.87C19.54 15.9 20.16 14.74 20.42 13.57C20.68 12.4 20.7 11 20.38 9.85C20.07 8.7 19.31 7.58 18.53 6.65C17.76 5.71 16.82 4.76 15.75 4.24C14.68 3.71 13.34 3.54 12.12 3.52C10.91 3.5 9.56 3.62 8.47 4.1C7.38 4.59 6.08 6.05 5.6 6.44" stroke-width="1.744"/><path d="M6.16 5.44Q4.98 7.23 3.6 8.86" stroke-width="1.616"/><path d="M3.93 3.39Q3.85 6.02 3.64 8.65Q6.5 8.96 9.38 8.98" stroke-width="1.392"/><path d="M12.21 7.09Q11.89 9.59 11.99 12.11Q14.01 13.19 16.07 14.18" stroke-width="1.632"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { History } from '@matita/icons/react';
<History size={32} pencil />The file is icons/history.svg in the package (pencil/history.svg for the pencil variant). Matita 0.3.0.
02How it's drawn
The recipe for history
History is not stored as a drawing. It is a recipe of 1 arc, 1 line and 2 polylines 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 12 12 8.5 180 -134;
L 6.1 5.9 3.9 8.7;
P 3.8 3.8 3.8 8.8 8.8 8.8;
P 12 7.5 12 12 15.5 14
history as a number: 1248952799
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, O dot. Separate shapes with ;. Edits stay on this page.
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.
Five seeds of history. Seed 0 is the default.
True pixel sizes.