Circle x icon
Added in v0.2.0
A free pencil-style circle x icon, drawn by code from 1 circle and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use circle-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 { CircleX } from '@matita/icons/react';
<CircleX size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="circle-x" />JavaScript
import { CircleX, toSvg } from '@matita/icons';
toSvg(CircleX, { 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-circle-x" data-sketch="" aria-hidden="true"><path d="M7.51 19.04C7.05 18.66 5.47 17.65 4.76 16.74C4.05 15.84 3.45 14.7 3.23 13.61C3.01 12.52 3.17 11.28 3.45 10.19C3.73 9.1 4.23 8.01 4.92 7.06C5.6 6.11 6.47 5.08 7.53 4.49C8.59 3.91 9.98 3.65 11.25 3.54C12.51 3.43 13.91 3.47 15.12 3.82C16.33 4.18 17.54 4.88 18.49 5.69C19.44 6.49 20.37 7.55 20.84 8.65C21.32 9.74 21.42 11.1 21.33 12.28C21.24 13.47 20.85 14.69 20.29 15.75C19.73 16.81 18.93 17.86 17.97 18.63C17.01 19.41 15.78 20.04 14.55 20.41C13.32 20.77 11.87 20.99 10.59 20.82C9.32 20.65 8.03 20.05 6.91 19.4C5.8 18.75 4.69 17.93 3.92 16.94C3.14 15.95 2.52 14.04 2.25 13.46" stroke-width="1.472"/><path d="M8.86 8.99Q12.06 12 15.21 15.07" stroke-width="1.808"/><path d="M15.38 8.98Q11.76 12.05 8.53 15.51" stroke-width="1.792"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { CircleX } from '@matita/icons/react';
<CircleX size={32} pencil />The file is icons/circle-x.svg in the package (pencil/circle-x.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for circle-x
Circle x is not stored as a drawing. It is a recipe of 1 circle 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 12 12 8.5;
L 9 9 15 15;
L 15 9 9 15
circle-x as a number: 3333265980
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 circle-x. Seed 0 is the default.
circle-x from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/circle-x.svg.
True pixel sizes.