Archive x icon
New Added in v0.7.0
A free pencil-style archive x icon, drawn by code from 1 rectangle, 1 polyline and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use archive-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 { ArchiveX } from '@matita/icons/react';
<ArchiveX size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="archive-x" />JavaScript
import { ArchiveX, toSvg } from '@matita/icons';
toSvg(ArchiveX, { 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-archive-x" data-sketch="" aria-hidden="true"><path d="M1.99 4.37Q11.92 4.38 21.86 4.31M20.83 3.23Q20.96 6.62 20.99 10.01M21.58 8.83Q11.93 8.35 2.28 9.16M2.98 10.21Q2.78 6.73 2.87 3.26" stroke-width="1.616"/><path d="M4.51 8.35Q4.34 13.9 4.39 19.44Q11.87 19 19.34 19.53Q19.37 13.99 19.33 8.44" stroke-width="1.584"/><path d="M9.75 12.4Q12.02 14.53 14.11 16.86" stroke-width="1.632"/><path d="M14.33 12.18Q11.81 14.35 9.61 16.85" stroke-width="1.728"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { ArchiveX } from '@matita/icons/react';
<ArchiveX size={32} pencil />The file is icons/archive-x.svg in the package (pencil/archive-x.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for archive-x
Archive x is not stored as a drawing. It is a recipe of 1 rectangle, 1 polyline 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.
R 3 4.5 18 4.5;
P 4.5 9 4.5 19.5 19.5 19.5 19.5 9;
L 10 12.5 14 16.5;
L 14 12.5 10 16.5
archive-x as a number: 1306277568
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 archive-x. Seed 0 is the default.
archive-x from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/archive-x.svg.
True pixel sizes.