Repeat icon
New Added in v0.4.0
A free pencil-style repeat icon, drawn by code from 4 polylines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use repeat
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 { Repeat } from '@matita/icons/react';
<Repeat size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="repeat" />JavaScript
import { Repeat, toSvg } from '@matita/icons';
toSvg(Repeat, { 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-repeat" data-sketch="" aria-hidden="true"><path d="M3.43 11.99Q3.39 10.07 3.4 8.15Q4.54 7 5.83 6.01Q12.78 5.94 19.74 5.93" stroke-width="1.728"/><path d="M15.92 2.77Q17.61 4.42 19.42 5.92Q17.83 7.48 16.39 9.18" stroke-width="1.696"/><path d="M20.43 12.35Q20.37 14.13 20.35 15.91Q19.18 16.92 18.1 18.03Q11.06 18.16 4.02 18.18" stroke-width="1.808"/><path d="M7.66 14.76Q5.93 16.38 4.34 18.14Q6.1 19.64 7.67 21.33" stroke-width="1.68"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Repeat } from '@matita/icons/react';
<Repeat size={32} pencil />The file is icons/repeat.svg in the package (pencil/repeat.svg for the pencil variant). Matita 0.4.0.
02How it's drawn
The recipe for repeat
Repeat is not stored as a drawing. It is a recipe of 4 polylines 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 3.5 11.5 3.5 8 6 6 19.5 6;
P 16.5 3 19.5 6 16.5 9;
P 20.5 12.5 20.5 16 18 18 4.5 18;
P 7.5 15 4.5 18 7.5 21
repeat as a number: 3650857002
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 repeat. Seed 0 is the default.
repeat from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/repeat.svg.
True pixel sizes.