Coins icon
New Added in v0.6.0
A free pencil-style coins icon, drawn by code from 3 arcs. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use coins
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 { Coins } from '@matita/icons/react';
<Coins size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="coins" />JavaScript
import { Coins, toSvg } from '@matita/icons';
toSvg(Coins, { 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-coins" data-sketch="" aria-hidden="true"><path d="M15.42 14.05C15.35 14.47 15.25 15.73 14.98 16.52C14.71 17.31 14.38 18.21 13.81 18.79C13.24 19.37 12.36 19.69 11.57 19.99C10.78 20.3 9.9 20.63 9.08 20.6C8.26 20.56 7.37 20.18 6.64 19.76C5.9 19.35 5.18 18.78 4.68 18.12C4.18 17.46 3.82 16.61 3.62 15.78C3.43 14.96 3.29 14 3.48 13.19C3.67 12.39 4.21 11.59 4.75 10.95C5.28 10.31 5.97 9.75 6.69 9.36C7.41 8.97 8.27 8.66 9.08 8.6C9.89 8.54 10.77 8.74 11.55 9C12.34 9.27 13.24 9.62 13.82 10.19C14.4 10.77 14.76 11.66 15.02 12.45C15.27 13.24 15.28 14.52 15.33 14.93" stroke-width="1.76"/><path d="M6.19 14.13C6.22 13.92 6.2 13.22 6.39 12.85C6.57 12.49 6.97 12.22 7.3 11.94C7.62 11.65 7.94 11.26 8.33 11.14C8.71 11.02 9.2 11.17 9.62 11.21C10.05 11.24 10.66 11.34 10.87 11.36" stroke-width="1.696"/><path d="M9 8.41C9.14 7.98 9.36 6.58 9.81 5.82C10.26 5.06 10.94 4.27 11.69 3.83C12.44 3.39 13.43 3.27 14.31 3.2C15.19 3.12 16.15 3.09 16.95 3.37C17.76 3.65 18.55 4.24 19.15 4.85C19.74 5.47 20.24 6.28 20.53 7.08C20.81 7.89 20.95 8.84 20.87 9.7C20.79 10.55 20.49 11.49 20.04 12.23C19.58 12.97 18.89 13.7 18.15 14.14C17.4 14.57 16 14.72 15.57 14.84" stroke-width="1.76"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Coins } from '@matita/icons/react';
<Coins size={32} pencil />The file is icons/coins.svg in the package (pencil/coins.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for coins
Coins is not stored as a drawing. It is a recipe of 3 arcs 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 9.5 14.5 6 0 359.9;
A 9.5 14.5 3.4 195 285;
A 15 9 6 190 440
coins as a number: 2386639341
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 coins. Seed 0 is the default.
coins from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/coins.svg.
True pixel sizes.