Rotate cw icon
A free pencil-style rotate cw icon, drawn by code from 1 arc, 1 line and 1 polyline. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use rotate-cw
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 { RotateCw } from '@matita/icons/react';
<RotateCw size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="rotate-cw" />JavaScript
import { RotateCw, toSvg } from '@matita/icons';
toSvg(RotateCw, { 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-cw" data-sketch="" aria-hidden="true"><path d="M20.32 11.21C20.29 11.82 20.51 13.78 20.12 14.89C19.73 16 18.82 17.01 17.97 17.87C17.11 18.74 16.12 19.65 15.02 20.09C13.91 20.52 12.54 20.6 11.33 20.5C10.12 20.4 8.82 20.06 7.77 19.48C6.71 18.9 5.69 17.98 5 17C4.3 16.01 3.81 14.74 3.62 13.55C3.44 12.37 3.58 11.06 3.89 9.9C4.19 8.75 4.71 7.55 5.44 6.6C6.17 5.65 7.19 4.71 8.27 4.2C9.35 3.69 10.7 3.56 11.92 3.55C13.13 3.55 14.46 3.69 15.56 4.16C16.67 4.63 18.05 6.02 18.55 6.39" stroke-width="1.424"/><path d="M17.5 5.43Q18.87 7.09 20.14 8.83" stroke-width="1.408"/><path d="M20.23 3.1Q20.08 5.91 20.08 8.74Q17.61 8.81 15.13 8.86" stroke-width="1.664"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { RotateCw } from '@matita/icons/react';
<RotateCw size={32} pencil />The file is icons/rotate-cw.svg in the package (pencil/rotate-cw.svg for the pencil variant). Matita 0.2.1.
02How it's drawn
The recipe for rotate-cw
Rotate cw is not stored as a drawing. It is a recipe of 1 arc, 1 line 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 0 314;
L 17.9 5.9 20.1 8.7;
P 20.2 3.8 20.2 8.8 15.2 8.8
rotate-cw as a number: 1189500639
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 rotate-cw. Seed 0 is the default.
True pixel sizes.