Table icon
A free pencil-style table icon, drawn by code from 1 rectangle and 3 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use table
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 { Table } from '@matita/icons/react';
<Table size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="table" />JavaScript
import { Table, toSvg } from '@matita/icons';
toSvg(Table, { 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-table" data-sketch="" aria-hidden="true"><path d="M2.31 4.59Q11.96 4.1 21.61 4.47M20.54 3.42Q20.55 12 20.5 20.57M21.61 19.67Q12 20.21 2.39 19.38M3.56 20.15Q3.59 11.79 3.37 3.42" stroke-width="1.488"/><path d="M3.41 9.7Q12.16 9.84 20.91 9.36" stroke-width="1.6"/><path d="M3.2 14.44Q11.95 14.99 20.7 14.47" stroke-width="1.52"/><path d="M11.82 9.05Q11.63 14.47 12.06 19.9" stroke-width="1.584"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Table } from '@matita/icons/react';
<Table size={32} pencil />The file is icons/table.svg in the package (pencil/table.svg for the pencil variant). Matita 0.3.0.
02How it's drawn
The recipe for table
Table is not stored as a drawing. It is a recipe of 1 rectangle and 3 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.
R 3.5 4.5 17 15;
L 3.5 9.5 20.5 9.5;
L 3.5 14.5 20.5 14.5;
L 12 9.5 12 19.5
table as a number: 1251777503
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 table. Seed 0 is the default.
True pixel sizes.