Matita icon
Added in v0.6.0
A free pencil-style matita icon, drawn by code from 8 lines, 1 curve and 1 bezier curve. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use matita
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 { Matita } from '@matita/icons/react';
<Matita size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="matita" />JavaScript
import { Matita, toSvg } from '@matita/icons';
toSvg(Matita, { 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-matita" data-sketch="" aria-hidden="true"><path d="M11.54 4.55Q15.59 8.16 19.28 12.13" stroke-width="1.68"/><path d="M13.38 3.78Q16.45 6.92 19.78 9.78" stroke-width="1.616"/><path d="M15.02 2.37Q18.19 5.58 21.59 8.56" stroke-width="1.744"/><path d="M2.79 17.32Q4.75 18.9 6.54 20.7" stroke-width="1.824"/><path d="M3.61 15.26Q9.5 8.6 15.97 2.5" stroke-width="1.68"/><path d="M6.86 17.06Q11.11 12.7 15.24 8.22" stroke-width="1.488"/><path d="M9.09 19.37Q15.48 12.97 21.95 6.64" stroke-width="1.664"/><path d="M15.41 3.15Q21.33 2.19 20.75 8.04" stroke-width="1.552"/><path d="M3.36 13.51Q7.15 16.57 10.46 20.15" stroke-width="1.744"/><path d="M4.22 14.08C4 16.03 3.17 19.36 2.86 21.16C4.65 20.9 7.78 19.22 10.15 18.94" stroke-width="1.632"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Matita } from '@matita/icons/react';
<Matita size={32} pencil />The file is icons/matita.svg in the package (pencil/matita.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for matita
Matita is not stored as a drawing. It is a recipe of 8 lines, 1 curve and 1 bezier curve 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.
L 11.75 4.75 19 12;
L 13.75 4 19.5 9.75;
L 15.25 2.5 21.25 8.5;
L 3 17.5 6.5 20.5;
L 3.75 15 15.5 3;
L 7.25 16.75 15.25 8.5;
L 9.25 19 21.5 7;
Q 15.75 3.25 21.25 2.25 20.75 8;
L 3.5 13.75 10 19.75;
B 4.25 14.25 3.83 16.17 3.17 19.33 2.75 21.25 4.67 20.83 7.58 19.42 9.5 19
matita as a number: 1162710907
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, 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 matita. Seed 0 is the default.
matita from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/matita.svg.
True pixel sizes.