Rotate ccw icon
Added in v0.1.0
A free pencil-style rotate ccw icon, drawn by code from 1 arc and 1 polyline. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use rotate-ccw
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 { RotateCcw } from '@matita/icons/react';
<RotateCcw size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="rotate-ccw" />JavaScript
import { RotateCcw, toSvg } from '@matita/icons';
toSvg(RotateCcw, { 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-rotate-ccw" data-sketch="" aria-hidden="true"><path d="M3.54 10.81C3.6 11.41 3.58 13.28 3.91 14.42C4.24 15.57 4.76 16.82 5.54 17.7C6.32 18.57 7.49 19.21 8.59 19.7C9.69 20.19 10.96 20.65 12.13 20.63C13.3 20.61 14.55 20.1 15.62 19.57C16.69 19.03 17.76 18.32 18.52 17.42C19.29 16.53 19.89 15.34 20.21 14.2C20.53 13.06 20.62 11.73 20.43 10.56C20.24 9.38 19.75 8.13 19.07 7.15C18.4 6.17 17.39 5.29 16.36 4.69C15.34 4.08 14.1 3.66 12.91 3.52C11.72 3.38 10.39 3.46 9.25 3.83C8.11 4.2 6.94 4.9 6.09 5.73C5.24 6.57 4.48 8.32 4.15 8.84" stroke-width="1.392"/><path d="M3.61 3.33Q3.88 6.2 4.15 9.06Q6.56 8.62 8.95 8.03" stroke-width="1.392"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { RotateCcw } from '@matita/icons/react';
<RotateCcw size={32} pencil />The file is icons/rotate-ccw.svg in the package (pencil/rotate-ccw.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for rotate-ccw
Rotate ccw is not stored as a drawing. It is a recipe of 1 arc and 1 polyline 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 12 12 8.5 180 -150;
P 3.8 3.8 4 9 8.5 8
rotate-ccw as a number: 884500060
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, 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 rotate-ccw. Seed 0 is the default.
rotate-ccw from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/rotate-ccw.svg.
True pixel sizes.