Save icon

A free pencil-style save icon, drawn by code from 1 closed shape and 2 polylines. Use it as an SVG, a React component, or by name. MIT licensed.

save

01Use it

Use save

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

<Save size={24} />

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

JavaScript

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

toSvg(Save, { 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-save" data-sketch="" aria-hidden="true"><path d="M4 4.07Q10.3 4.22 16.6 4.02Q18.2 5.74 19.86 7.4Q20.03 13.68 19.85 19.96Q11.95 20.43 4.05 20.15Q3.48 12.11 4 4.07Q4.82 4.09 5.64 4.06" stroke-width="1.824"/><path d="M8.18 3.52Q7.96 6.04 8.01 8.56Q11.49 8.57 14.97 8.5Q14.8 6.06 14.92 3.62" stroke-width="1.728"/><path d="M7.37 20.74Q7.63 17.27 7.42 13.8Q12.03 13.51 16.63 13.81Q16.72 17.14 16.59 20.46" stroke-width="1.728"/></svg>

Pencil variant

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

<Save size={32} pencil />

The file is icons/save.svg in the package (pencil/save.svg for the pencil variant). Matita 0.2.1.

02How it's drawn

The recipe for save

Save is not stored as a drawing. It is a recipe of 1 closed shape 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
Z 4 4 16.5 4 20 7.5 20 20 4 20;
P 8 4 8 8.5 15 8.5 15 4;
P 7.5 20 7.5 14 16.5 14 16.5 20
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 save. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil