Egg icon
New Added in v0.6.0
A free pencil-style egg icon, drawn by code from 1 curve. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use egg
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 { Egg } from '@matita/icons/react';
<Egg size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="egg" />JavaScript
import { Egg, toSvg } from '@matita/icons';
toSvg(Egg, { 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-egg" data-sketch="" aria-hidden="true"><path d="M11.48 3.02C15.48 2.8 19.07 9.04 19.12 14.12C18.98 17.82 15.98 21.15 12.1 21.11C7.97 21.11 4.83 17.87 5.06 13.89C5.02 8.82 8.68 2.96 12.32 2.83" stroke-width="1.44"/><path d="M8.61 14.81Q9 11.52 10.55 9.17" stroke-width="1.808"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Egg } from '@matita/icons/react';
<Egg size={32} pencil />The file is icons/egg.svg in the package (pencil/egg.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for egg
Egg is not stored as a drawing. It is a recipe of 1 curve 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.
B 12 3 15.5 3 19 9 19 14 19 18 16 21 12 21 8 21 5 18 5 14 5 9 8.5 3 12 3;
Q 8.5 14.5 9 11.5 10.5 9.5
egg as a number: 1501368774
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 egg. Seed 0 is the default.
egg from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/egg.svg.
True pixel sizes.