Briefcase icon
New Added in v0.4.0
A free pencil-style briefcase icon, drawn by code from 1 rectangle, 1 polyline, 1 line and 1 dot. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use briefcase
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 { Briefcase } from '@matita/icons/react';
<Briefcase size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="briefcase" />JavaScript
import { Briefcase, toSvg } from '@matita/icons';
toSvg(Briefcase, { 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-briefcase" data-sketch="" aria-hidden="true"><path d="M1.68 7.48Q11.71 7.12 21.75 7.57M20.91 6.24Q21.16 13.82 20.91 21.41M22.26 20.08Q12.24 19.51 2.21 19.99M3.04 20.58Q2.82 13.46 3.1 6.34" stroke-width="1.792"/><path d="M8.37 7.78Q8.41 6.08 8.49 4.37Q11.91 4.68 15.34 4.39Q15.43 6.01 15.45 7.63" stroke-width="1.632"/><path d="M2.33 13.19Q11.9 12.45 21.47 12.94" stroke-width="1.712"/><path d="M11.97 12.9l.01 0" stroke-width="2.48"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Briefcase } from '@matita/icons/react';
<Briefcase size={32} pencil />The file is icons/briefcase.svg in the package (pencil/briefcase.svg for the pencil variant). Matita 0.4.0.
02How it's drawn
The recipe for briefcase
Briefcase is not stored as a drawing. It is a recipe of 1 rectangle, 1 polyline, 1 line and 1 dot 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 7.5 18 12.5;
P 8.5 7.5 8.5 4.5 15.5 4.5 15.5 7.5;
L 3 13 21 13;
O 12 13
briefcase as a number: 1355548867
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 briefcase. Seed 0 is the default.
briefcase from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/briefcase.svg.
True pixel sizes.