Volume x icon

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

volume-x

01Use it

Use volume-x

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

<VolumeX size={24} />

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

JavaScript

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

toSvg(VolumeX, { 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-volume-x" data-sketch="" aria-hidden="true"><path d="M3.41 9.05Q5.36 9.03 7.31 8.85Q9.82 6.61 12.52 4.6Q12.59 12 12.64 19.4Q10.02 17.22 7.44 15.01Q5.39 15.19 3.34 15.08Q3.28 12.07 3.41 9.05Q3.94 8.99 4.47 9" stroke-width="1.776"/><path d="M15.28 9.24Q17.98 12.13 20.79 14.91" stroke-width="1.776"/><path d="M20.62 9.21Q17.98 11.91 15.37 14.65" stroke-width="1.632"/></svg>

Pencil variant

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

<VolumeX size={32} pencil />

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

02How it's drawn

The recipe for volume-x

Volume x is not stored as a drawing. It is a recipe of 1 closed shape 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
Z 3.5 9 7.5 9 12.5 4.5 12.5 19.5 7.5 15 3.5 15;
L 15.5 9.5 20.5 14.5;
L 20.5 9.5 15.5 14.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 volume-x. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil