Refresh ccw icon

New Added in v0.7.0

A free pencil-style refresh ccw icon, drawn by code from 2 arcs and 2 polylines. Use it as an SVG, a React component, or by name. MIT licensed.

refresh-ccw

01Use it

Use refresh-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 { RefreshCcw } from '@matita/icons/react';

<RefreshCcw size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="refresh-ccw" />

JavaScript

import { RefreshCcw, toSvg } from '@matita/icons';

toSvg(RefreshCcw, { size: 24 });   // SVG string

SVG

<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-refresh-ccw" data-sketch="" aria-hidden="true"><path d="M4.56 9.36C4.84 8.9 5.52 7.39 6.23 6.61C6.94 5.84 7.86 5.12 8.82 4.69C9.79 4.26 10.93 4.05 12 4.02C13.07 3.99 14.28 4.1 15.25 4.52C16.22 4.95 17.09 5.78 17.8 6.58C18.52 7.38 19.23 8.87 19.52 9.33" stroke-width="1.424"/><path d="M4.53 2.86Q4.27 5.76 4.45 8.65Q7.13 8.47 9.83 8.38" stroke-width="1.632"/><path d="M19.61 14.78C19.29 15.22 18.44 16.61 17.71 17.39C16.97 18.17 16.16 19.04 15.21 19.45C14.26 19.87 13.07 19.88 12 19.89C10.93 19.89 9.76 19.86 8.78 19.47C7.8 19.09 6.82 18.36 6.1 17.58C5.38 16.79 4.74 15.22 4.47 14.75" stroke-width="1.744"/><path d="M19.41 20.58Q19.29 18 19.63 15.43Q16.94 15.31 14.25 15.45" stroke-width="1.6"/></svg>

Pencil variant

import '@matita/icons/pencil.css';
import { RefreshCcw } from '@matita/icons/react';

<RefreshCcw size={32} pencil />

The file is icons/refresh-ccw.svg in the package (pencil/refresh-ccw.svg for the pencil variant). Matita 0.7.0.

02How it's drawn

The recipe for refresh-ccw

Refresh ccw is not stored as a drawing. It is a recipe of 2 arcs and 2 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.

A · Recipe
A 12 12 8 205 335;
P 4.5 3.5 4.5 8.5 9.5 8.5;
A 12 12 8 25 155;
P 19.5 20.5 19.5 15.5 14.5 15.5
B · Plotted
C · Drawn
How it works

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.

seed 0
seed 1
seed 2
seed 3
seed 4

Five seeds of refresh-ccw. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

refresh-ccw from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/refresh-ccw.svg.

16 px
20 px
24 px
32 px
48 px
96 px

True pixel sizes.

Ink
Pencil