Prices menu icon

New Added in v0.6.0

A free pencil-style prices menu icon, drawn by code from 1 rectangle, 3 lines and 3 dots. Use it as an SVG, a React component, or by name. MIT licensed.

prices-menu

01Use it

Use prices-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 { PricesMenu } from '@matita/icons/react';

<PricesMenu size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="prices-menu" />

JavaScript

import { PricesMenu, toSvg } from '@matita/icons';

toSvg(PricesMenu, { size: 24 });   // SVG string

SVG

<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-prices-menu" data-sketch="" aria-hidden="true"><path d="M4.03 2.43Q12.06 2.14 20.1 2.62M18.89 1.25Q19.48 12.07 19.06 22.88M20.32 21.36Q12.26 21.2 4.19 21.39M5.08 22.57Q5.7 12.17 5.02 1.78" stroke-width="1.632"/><path d="M7.41 7.92Q9.84 7.85 12.27 8.09" stroke-width="1.696"/><path d="M7.71 11.86Q10.01 11.85 12.31 11.87" stroke-width="1.552"/><path d="M7.93 15.85Q10.32 15.9 12.71 16.06" stroke-width="1.536"/><path d="M14.88 8.14l.01 0M15.18 12.11l.01 0M14.98 16.16l.01 0" stroke-width="2.48"/></svg>

Pencil variant

import '@matita/icons/pencil.css';
import { PricesMenu } from '@matita/icons/react';

<PricesMenu size={32} pencil />

The file is icons/prices-menu.svg in the package (pencil/prices-menu.svg for the pencil variant). Matita 0.6.0.

02How it's drawn

The recipe for prices-menu

Prices menu is not stored as a drawing. It is a recipe of 1 rectangle, 3 lines and 3 dots 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.

A · Recipe
R 5 2.5 14 19;
L 8 8 12 8;
O 15 8;
L 8 12 12 12;
O 15 12;
L 8 16 12 16;
O 15 16
B · Plotted
C · Drawn
How it works

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.

seed 0
seed 1
seed 2
seed 3
seed 4

Five seeds of prices-menu. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

prices-menu from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/prices-menu.svg.

16 px
20 px
24 px
32 px
48 px
96 px

True pixel sizes.

Ink
Pencil