Eye off icon

Added in v0.2.0

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

eye-off

01Use it

Use eye-off

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

<EyeOff size={24} />

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

JavaScript

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

toSvg(EyeOff, { 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-eye-off" data-sketch="" aria-hidden="true"><path d="M2.5 12.26Q12.09 4.07 21.72 11.96" stroke-width="1.664"/><path d="M21.72 11.85Q12.08 20.04 2.2 12" stroke-width="1.552"/><path d="M14.62 11.06C14.64 11.27 14.78 11.9 14.74 12.31C14.71 12.71 14.58 13.14 14.39 13.5C14.21 13.85 13.93 14.2 13.62 14.45C13.31 14.7 12.93 14.9 12.54 15.01C12.15 15.11 11.69 15.18 11.3 15.09C10.9 15.01 10.47 14.79 10.15 14.52C9.82 14.25 9.56 13.86 9.35 13.47C9.14 13.08 8.94 12.63 8.88 12.18C8.83 11.73 8.88 11.2 9.03 10.77C9.19 10.35 9.48 9.94 9.8 9.61C10.11 9.28 10.5 8.97 10.91 8.8C11.32 8.63 11.81 8.56 12.26 8.59C12.7 8.62 13.18 8.75 13.59 8.97C14 9.18 14.43 9.48 14.72 9.86C15.02 10.24 15.25 10.75 15.35 11.23C15.46 11.72 15.47 12.28 15.38 12.77C15.28 13.26 14.9 13.96 14.8 14.2" stroke-width="1.664"/><path d="M3.64 3.4Q11.96 12.34 20.53 21.06" stroke-width="1.52"/></svg>

Pencil variant

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

<EyeOff size={32} pencil />

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

02How it's drawn

The recipe for eye-off

Eye off is not stored as a drawing. It is a recipe of 2 curves, 1 circle and 1 line 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
Q 2.5 12 12 4 21.5 12;
Q 21.5 12 12 20 2.5 12;
C 12 12 2.8;
L 4 3.5 20 20.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 eye-off. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil