Parking icon

New Added in v0.6.0

A free pencil-style parking icon, drawn by code from 1 rectangle, 1 line, 2 polylines and 1 arc. Use it as an SVG, a React component, or by name. MIT licensed.

parking

01Use it

Use parking

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

<Parking size={24} />

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

JavaScript

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

toSvg(Parking, { 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-parking" data-sketch="" aria-hidden="true"><path d="M2.41 3.51Q11.99 3.03 21.56 3.53M20.66 2.39Q21.24 11.92 20.52 21.45M21.71 20.69Q12.3 20.19 2.9 20.67M3.44 21.87Q3.34 12.17 3.57 2.48" stroke-width="1.616"/><path d="M9.44 17.43Q9.17 12.03 9.31 6.64" stroke-width="1.664"/><path d="M8.89 7.06Q11.05 7.05 13.2 7.02" stroke-width="1.552"/><path d="M12.32 7.08C12.55 7.11 13.24 7.09 13.65 7.22C14.06 7.36 14.45 7.6 14.8 7.88C15.14 8.15 15.53 8.47 15.73 8.86C15.92 9.24 15.96 9.75 15.96 10.2C15.96 10.65 15.91 11.15 15.72 11.54C15.53 11.93 15.15 12.25 14.8 12.53C14.46 12.82 14.09 13.09 13.67 13.25C13.25 13.41 12.53 13.46 12.3 13.5" stroke-width="1.408"/><path d="M13.21 13.19Q11.14 13.23 9.09 13.54" stroke-width="1.6"/></svg>

Pencil variant

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

<Parking size={32} pencil />

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

02How it's drawn

The recipe for parking

Parking is not stored as a drawing. It is a recipe of 1 rectangle, 1 line, 2 polylines and 1 arc 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 3.5 3.5 17 17;
L 9.5 17 9.5 7;
P 9.5 7 12.8 7;
A 12.8 10.2 3.2 -90 90;
P 12.8 13.4 9.5 13.4
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 parking. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil