Log in icon
A free pencil-style log in icon, drawn by code from 2 polylines and 1 line. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use log-in
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 { LogIn } from '@matita/icons/react';
<LogIn size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="log-in" />JavaScript
import { LogIn, toSvg } from '@matita/icons';
toSvg(LogIn, { 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-log-in" data-sketch="" aria-hidden="true"><path d="M13.61 3.53Q16.55 3.4 19.49 3.52Q19.53 12.03 19.65 20.54Q16.69 20.4 13.72 20.39" stroke-width="1.568"/><path d="M3.31 12.02Q9.16 12.01 15.01 12.11" stroke-width="1.536"/><path d="M9.77 7.3Q11.95 9.78 14.34 12.04Q12.3 14.47 9.89 16.53" stroke-width="1.552"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { LogIn } from '@matita/icons/react';
<LogIn size={32} pencil />The file is icons/log-in.svg in the package (pencil/log-in.svg for the pencil variant). Matita 0.2.1.
02How it's drawn
The recipe for log-in
Log in is not stored as a drawing. It is a recipe of 2 polylines and 1 line 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.
P 14 3.5 19.5 3.5 19.5 20.5 14 20.5;
L 3.5 12 14.5 12;
P 10 7.5 14.5 12 10 16.5
log-in as a number: 1587124779
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 log-in. Seed 0 is the default.
True pixel sizes.