Ambulance icon
New Added in v0.4.0
A free pencil-style ambulance icon, drawn by code from 2 polylines, 2 circles and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use ambulance
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 { Ambulance } from '@matita/icons/react';
<Ambulance size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="ambulance" />JavaScript
import { Ambulance, toSvg } from '@matita/icons';
toSvg(Ambulance, { 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-ambulance" data-sketch="" aria-hidden="true"><path d="M5.51 18.16Q4.05 17.94 2.57 17.88Q2.19 11.77 2.49 5.65Q8.16 5.57 13.84 5.43Q13.81 11.72 13.84 18Q11.33 17.78 8.81 17.89" stroke-width="1.568"/><path d="M13.63 8.86Q15.76 8.84 17.88 9.04Q19.26 10.95 20.84 12.69Q21.1 15.4 21.1 18.13Q19.84 17.91 18.56 17.87" stroke-width="1.584"/><path d="M7.03 16C7.15 16.01 7.51 15.99 7.73 16.06C7.95 16.14 8.15 16.3 8.34 16.45C8.53 16.61 8.75 16.77 8.89 16.98C9.02 17.2 9.11 17.47 9.15 17.74C9.2 18 9.22 18.3 9.16 18.56C9.1 18.82 8.95 19.06 8.81 19.3C8.67 19.53 8.54 19.81 8.33 19.99C8.13 20.16 7.85 20.28 7.58 20.36C7.32 20.44 7.02 20.5 6.74 20.48C6.47 20.45 6.19 20.32 5.93 20.2C5.67 20.08 5.38 19.96 5.16 19.76C4.95 19.55 4.78 19.27 4.65 18.99C4.52 18.71 4.4 18.38 4.38 18.07C4.37 17.76 4.47 17.43 4.57 17.13C4.66 16.82 4.76 16.5 4.95 16.24C5.13 15.99 5.4 15.77 5.67 15.6C5.94 15.42 6.25 15.27 6.56 15.2C6.87 15.13 7.38 15.19 7.55 15.19" stroke-width="1.536"/><path d="M15.02 18.68C15.01 18.54 14.9 18.13 14.91 17.86C14.92 17.58 14.96 17.28 15.09 17.03C15.21 16.78 15.43 16.53 15.66 16.35C15.9 16.17 16.2 16.04 16.5 15.95C16.8 15.86 17.15 15.76 17.47 15.8C17.78 15.84 18.12 15.99 18.39 16.17C18.65 16.35 18.87 16.61 19.05 16.87C19.23 17.14 19.41 17.45 19.47 17.76C19.53 18.07 19.49 18.43 19.4 18.75C19.31 19.08 19.16 19.43 18.93 19.69C18.7 19.95 18.37 20.17 18.04 20.32C17.71 20.46 17.31 20.57 16.94 20.58C16.57 20.58 16.18 20.47 15.83 20.33C15.49 20.19 15.13 19.98 14.87 19.71C14.61 19.45 14.37 19.1 14.26 18.75C14.14 18.4 14.15 17.99 14.19 17.61C14.23 17.23 14.43 16.65 14.48 16.46" stroke-width="1.696"/><path d="M8.36 8.56Q8.48 11.5 8.21 14.44" stroke-width="1.712"/><path d="M5.19 11.6Q8.23 11.64 11.26 11.35" stroke-width="1.6"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Ambulance } from '@matita/icons/react';
<Ambulance size={32} pencil />The file is icons/ambulance.svg in the package (pencil/ambulance.svg for the pencil variant). Matita 0.4.0.
02How it's drawn
The recipe for ambulance
Ambulance is not stored as a drawing. It is a recipe of 2 polylines, 2 circles and 2 lines 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 5 18 2.5 18 2.5 5.5 14 5.5 14 18 9 18;
P 14 9 18 9 21 12.5 21 18 19 18;
C 7 18 2;
C 17 18 2;
L 8.25 9 8.25 14;
L 5.75 11.5 10.75 11.5
ambulance as a number: 2415462173
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 ambulance. Seed 0 is the default.
ambulance from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/ambulance.svg.
True pixel sizes.