Info icon
Added in v0.1.0
A free pencil-style info icon, drawn by code from 1 circle, 1 line and 1 dot. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use info
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 { Info } from '@matita/icons/react';
<Info size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="info" />JavaScript
import { Info, toSvg } from '@matita/icons';
toSvg(Info, { 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-info" data-sketch="" aria-hidden="true"><path d="M14.13 3.72C14.61 3.94 16.16 4.41 17.01 5.02C17.87 5.63 18.7 6.46 19.25 7.36C19.8 8.27 20.15 9.4 20.31 10.46C20.47 11.52 20.37 12.63 20.22 13.71C20.07 14.8 19.95 16.05 19.41 16.97C18.86 17.88 17.85 18.61 16.95 19.21C16.05 19.8 15.05 20.22 14.01 20.54C12.98 20.86 11.84 21.19 10.75 21.12C9.67 21.04 8.45 20.68 7.52 20.1C6.59 19.51 5.85 18.52 5.19 17.61C4.53 16.71 3.89 15.73 3.54 14.67C3.18 13.61 3.03 12.4 3.07 11.27C3.12 10.13 3.36 8.91 3.81 7.86C4.27 6.8 4.98 5.76 5.8 4.95C6.62 4.15 7.68 3.48 8.75 3.05C9.81 2.63 11.05 2.37 12.19 2.4C13.33 2.43 15.02 3.1 15.58 3.24" stroke-width="1.808"/><path d="M12.08 10.38Q12.22 13.54 12.09 16.69" stroke-width="1.664"/><path d="M12.13 7.61l.01 0" stroke-width="2.48"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Info } from '@matita/icons/react';
<Info size={32} pencil />The file is icons/info.svg in the package (pencil/info.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for info
Info is not stored as a drawing. It is a recipe of 1 circle, 1 line and 1 dot 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.
C 12 12 8.5;
L 12 11 12 16.5;
O 12 7.8
info as a number: 263456517
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 info. Seed 0 is the default.
info from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/info.svg.
True pixel sizes.