Folded menu icon
New Added in v0.6.0
A free pencil-style folded menu icon, drawn by code from 1 closed shape and 5 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use folded-menu
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 { FoldedMenu } from '@matita/icons/react';
<FoldedMenu size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="folded-menu" />JavaScript
import { FoldedMenu, toSvg } from '@matita/icons';
toSvg(FoldedMenu, { 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-folded-menu" data-sketch="" aria-hidden="true"><path d="M3.4 5.89Q7.68 5.12 12.01 4.65Q16.25 5.07 20.41 5.99Q20.91 12.54 20.63 19.1Q16.31 19.64 12.04 20.51Q7.83 19.62 3.59 18.89Q3.6 12.39 3.4 5.89Q4.22 5.84 5.02 5.65" stroke-width="1.616"/><path d="M11.91 4.32Q11.21 12.64 11.87 20.96" stroke-width="1.712"/><path d="M5.68 9.38Q7.71 9.59 9.73 9.88" stroke-width="1.408"/><path d="M5.65 13.02Q7.76 13.42 9.91 13.57" stroke-width="1.696"/><path d="M13.94 10.18Q16.23 9.81 18.5 9.33" stroke-width="1.696"/><path d="M14.12 13.45Q16.2 13.2 18.31 13.09" stroke-width="1.616"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { FoldedMenu } from '@matita/icons/react';
<FoldedMenu size={32} pencil />The file is icons/folded-menu.svg in the package (pencil/folded-menu.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for folded-menu
Folded menu is not stored as a drawing. It is a recipe of 1 closed shape and 5 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.
Z 3.5 6 12 4.5 20.5 6 20.5 19 12 20.5 3.5 19;
L 12 4.5 12 20.5;
L 6 9.5 9.5 10;
L 6 13 9.5 13.5;
L 14.5 10 18 9.5;
L 14.5 13.5 18 13
folded-menu as a number: 3271905061
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 folded-menu. Seed 0 is the default.
folded-menu from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/folded-menu.svg.
True pixel sizes.