Xi icon

New Added in v0.6.0

A free pencil-style xi icon, drawn by code from . Use it as an SVG, a React component, or by name. MIT licensed.

xi

01Use it

Use xi

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 { Xi } from '@matita/icons/react';

<Xi size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="xi" />

JavaScript

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

toSvg(Xi, { 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-xi" data-sketch="" aria-hidden="true"><path d="M9.48 2.81C8.04 4.53 15.15 5.94 12.46 4.69C11.34 3.85 6.96 4.66 7.63 8.66C7.68 10.52 12.12 11.07 12.1 11.17C15.11 11.19 12.59 9.94 11.97 9.86C7.95 10.2 5.92 13.96 6.93 16.84C7.85 19.81 12.38 17.77 14.63 18.47C15.83 18.91 16.36 21.38 12.46 20.8" stroke-width="1.664"/></svg>

Pencil variant

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

<Xi size={32} pencil />

The file is icons/xi.svg in the package (pencil/xi.svg for the pencil variant). Matita 0.6.0.

02How it's drawn

The recipe for xi

Xi is not stored as a drawing. It is a recipe of 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
B 9.5 3 8 4.5 15.2 5.85 12.5 4.5 11.5 4 7 4.5 7.5 8.5 7.76 10.55 12 11 12 11 15 11 12.5 10 12 10 7.78 10 6.04 14.11 7 17 8 20 12.54 17.85 14.5 18.5 16 19 16.5 21.5 13 21
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 xi. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil