Paperclip icon
A free pencil-style paperclip icon, drawn by code from 3 lines and 2 arcs. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use paperclip
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 { Paperclip } from '@matita/icons/react';
<Paperclip size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="paperclip" />JavaScript
import { Paperclip, toSvg } from '@matita/icons';
toSvg(Paperclip, { 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-paperclip" data-sketch="" aria-hidden="true"><path d="M16.16 7.02Q16.28 11.94 16.13 16.86" stroke-width="1.44"/><path d="M15.86 15.93C15.87 16.21 16.09 17.11 15.96 17.65C15.82 18.18 15.43 18.73 15.04 19.13C14.65 19.52 14.12 19.79 13.62 20.03C13.11 20.26 12.54 20.55 12 20.55C11.46 20.55 10.87 20.28 10.38 20.03C9.9 19.77 9.47 19.41 9.09 19.01C8.71 18.61 8.25 18.14 8.09 17.63C7.94 17.12 8.16 16.21 8.17 15.93" stroke-width="1.536"/><path d="M8.13 16.86Q8.53 11.34 8.02 5.82" stroke-width="1.504"/><path d="M8.04 6.39C8.05 6.21 8.02 5.67 8.11 5.33C8.19 4.98 8.32 4.6 8.55 4.33C8.77 4.06 9.13 3.89 9.45 3.73C9.78 3.57 10.14 3.41 10.5 3.39C10.86 3.37 11.28 3.45 11.6 3.62C11.91 3.78 12.16 4.1 12.4 4.38C12.63 4.66 12.91 4.95 13.03 5.29C13.14 5.63 13.08 6.22 13.09 6.41" stroke-width="1.568"/><path d="M12.83 5.47Q12.66 10.42 12.88 15.36" stroke-width="1.408"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Paperclip } from '@matita/icons/react';
<Paperclip size={32} pencil />The file is icons/paperclip.svg in the package (pencil/paperclip.svg for the pencil variant). Matita 0.2.1.
02How it's drawn
The recipe for paperclip
Paperclip is not stored as a drawing. It is a recipe of 3 lines and 2 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.
L 16 7.5 16 16.5;
A 12 16.5 4 0 180;
L 8 16.5 8 6;
A 10.5 6 2.5 180 360;
L 13 6 13 15
paperclip as a number: 738876439
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 paperclip. Seed 0 is the default.
True pixel sizes.