Food menu icon
New Added in v0.6.0
A free pencil-style food menu icon, drawn by code from 1 rectangle, 2 lines and 2 polylines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use food-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 { FoodMenu } from '@matita/icons/react';
<FoodMenu size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="food-menu" />JavaScript
import { FoodMenu, toSvg } from '@matita/icons';
toSvg(FoodMenu, { 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-food-menu" data-sketch="" aria-hidden="true"><path d="M3.11 2.81Q11.74 2.9 20.38 3.14M19.61 1.96Q20.28 11.83 19.6 21.7M20.77 21.1Q12.27 20.88 3.76 20.94M4.63 21.89Q4.59 12.09 4.65 2.3" stroke-width="1.6"/><path d="M9.35 7.05Q9.54 12.27 9.59 17.49" stroke-width="1.712"/><path d="M7.91 7.1Q7.9 8.52 8.14 9.91Q9.55 9.93 10.95 9.85Q11.02 8.42 10.91 7" stroke-width="1.792"/><path d="M14.4 7.03Q14.37 12.28 14.39 17.53" stroke-width="1.68"/><path d="M13.93 7.33Q14.98 8.1 16.05 8.81Q16.06 10.7 16.09 12.59Q15.1 12.68 14.11 12.64" stroke-width="1.712"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { FoodMenu } from '@matita/icons/react';
<FoodMenu size={32} pencil />The file is icons/food-menu.svg in the package (pencil/food-menu.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for food-menu
Food menu is not stored as a drawing. It is a recipe of 1 rectangle, 2 lines and 2 polylines 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 4.5 3 15 18;
L 9.5 7.5 9.5 17;
P 8 7.5 8 10 11 10 11 7.5;
L 14.5 7.5 14.5 17;
P 14.5 7.5 16.2 9 16.2 12.5 14.5 12.5
food-menu as a number: 1873467811
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 food-menu. Seed 0 is the default.
food-menu from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/food-menu.svg.
True pixel sizes.