User x icon
New Added in v0.5.0
A free pencil-style user x icon, drawn by code from 1 circle, 1 arc and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use user-x
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 { UserX } from '@matita/icons/react';
<UserX size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="user-x" />JavaScript
import { UserX, toSvg } from '@matita/icons';
toSvg(UserX, { 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-user-x" data-sketch="" aria-hidden="true"><path d="M13.87 8.8C13.81 9.04 13.74 9.8 13.52 10.22C13.31 10.64 12.93 11 12.58 11.32C12.22 11.64 11.83 11.94 11.39 12.15C10.96 12.35 10.44 12.52 9.95 12.53C9.47 12.55 8.93 12.42 8.47 12.24C8.02 12.05 7.59 11.75 7.21 11.41C6.83 11.08 6.45 10.69 6.21 10.24C5.98 9.79 5.83 9.24 5.81 8.73C5.78 8.22 5.89 7.68 6.05 7.19C6.21 6.7 6.46 6.22 6.77 5.8C7.08 5.37 7.45 4.93 7.9 4.65C8.35 4.37 8.93 4.18 9.46 4.12C10 4.05 10.57 4.13 11.1 4.26C11.64 4.38 12.19 4.55 12.67 4.85C13.14 5.14 13.63 5.55 13.93 6.01C14.23 6.48 14.34 7.09 14.46 7.65C14.57 8.21 14.58 9.08 14.6 9.37" stroke-width="1.52"/><path d="M2.62 19.34C2.88 18.85 3.51 17.25 4.19 16.39C4.87 15.52 5.72 14.63 6.69 14.14C7.65 13.65 8.9 13.42 10 13.43C11.1 13.45 12.27 13.76 13.27 14.23C14.27 14.7 15.3 15.4 15.98 16.25C16.67 17.1 17.15 18.82 17.38 19.34" stroke-width="1.68"/><path d="M16.3 7.97Q18.96 10.75 21.84 13.31" stroke-width="1.6"/><path d="M21.9 7.53Q18.92 10.3 16.22 13.34" stroke-width="1.808"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { UserX } from '@matita/icons/react';
<UserX size={32} pencil />The file is icons/user-x.svg in the package (pencil/user-x.svg for the pencil variant). Matita 0.5.1.
02How it's drawn
The recipe for user-x
User x is not stored as a drawing. It is a recipe of 1 circle, 1 arc and 2 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.
C 10 8.5 3.8;
A 10 21 7.5 200 340;
L 16.5 8 21.5 13;
L 21.5 8 16.5 13
user-x as a number: 777245487
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 user-x. Seed 0 is the default.
user-x from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/user-x.svg.
True pixel sizes.