Zoom out icon

A free pencil-style zoom out icon, drawn by code from 1 circle and 2 lines. Use it as an SVG, a React component, or by name. MIT licensed.

zoom-out

01Use it

Use zoom-out

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

<ZoomOut size={24} />

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

JavaScript

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

toSvg(ZoomOut, { 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-zoom-out" data-sketch="" aria-hidden="true"><path d="M16.58 12.62C16.32 12.95 15.63 14.02 15.05 14.6C14.47 15.18 13.83 15.77 13.09 16.12C12.35 16.48 11.45 16.72 10.62 16.75C9.78 16.78 8.89 16.6 8.08 16.32C7.28 16.04 6.39 15.65 5.79 15.07C5.18 14.5 4.78 13.64 4.46 12.86C4.14 12.08 3.92 11.21 3.89 10.37C3.87 9.52 3.94 8.55 4.31 7.79C4.67 7.03 5.39 6.37 6.06 5.81C6.72 5.25 7.46 4.75 8.27 4.43C9.08 4.1 10.04 3.81 10.91 3.86C11.77 3.9 12.7 4.28 13.48 4.68C14.25 5.08 15 5.64 15.58 6.28C16.15 6.92 16.64 7.72 16.94 8.53C17.24 9.35 17.45 10.3 17.38 11.16C17.31 12.03 16.93 12.92 16.51 13.71C16.1 14.51 15.59 15.37 14.89 15.93C14.2 16.5 12.76 16.91 12.34 17.11" stroke-width="1.664"/><path d="M15 14.94Q17.68 17.67 20.38 20.37" stroke-width="1.728"/><path d="M7.75 10.37Q10.71 10.57 13.68 10.53" stroke-width="1.568"/></svg>

Pencil variant

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

<ZoomOut size={32} pencil />

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

02How it's drawn

The recipe for zoom-out

Zoom out is not stored as a drawing. It is a recipe of 1 circle and 2 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.

A · Recipe
C 10.5 10.5 6.2;
L 15.2 15.2 20 20;
L 7.8 10.5 13.2 10.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 zoom-out. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil