Align right icon
A free pencil-style align right icon, drawn by code from 4 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use align-right
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 { AlignRight } from '@matita/icons/react';
<AlignRight size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="align-right" />JavaScript
import { AlignRight, toSvg } from '@matita/icons';
toSvg(AlignRight, { 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-align-right" data-sketch="" aria-hidden="true"><path d="M3.7 6.01Q11.98 6.06 20.26 6.09" stroke-width="1.648"/><path d="M9.77 10.14Q15.19 10.37 20.6 10" stroke-width="1.68"/><path d="M3.68 14.06Q12.05 14.62 20.41 13.93" stroke-width="1.472"/><path d="M11.51 17.89Q16.03 17.57 20.55 17.84" stroke-width="1.488"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { AlignRight } from '@matita/icons/react';
<AlignRight size={32} pencil />The file is icons/align-right.svg in the package (pencil/align-right.svg for the pencil variant). Matita 0.2.1.
02How it's drawn
The recipe for align-right
Align right is not stored as a drawing. It is a recipe of 4 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.
L 4 6 20 6;
L 10 10 20 10;
L 4 14 20 14;
L 12 18 20 18
align-right as a number: 674999281
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 align-right. Seed 0 is the default.
True pixel sizes.