Sliders icon

A free pencil-style sliders icon, drawn by code from 6 lines. Use it as an SVG, a React component, or by name. MIT licensed.

sliders

01Use it

Use sliders

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

<Sliders size={24} />

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

JavaScript

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

toSvg(Sliders, { 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-sliders" data-sketch="" aria-hidden="true"><path d="M3.56 6.04Q11.92 5.51 20.28 5.86" stroke-width="1.392"/><path d="M3.6 12.19Q11.93 12.56 20.26 12" stroke-width="1.744"/><path d="M3.81 18.07Q11.94 17.32 20.06 17.93" stroke-width="1.392"/><path d="M14.99 3.66Q14.77 6.04 14.86 8.42" stroke-width="1.408"/><path d="M8.96 9.79Q9.05 12.09 8.82 14.38" stroke-width="1.68"/><path d="M13.19 15.56Q13.22 17.97 13.13 20.38" stroke-width="1.792"/></svg>

Pencil variant

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

<Sliders size={32} pencil />

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

02How it's drawn

The recipe for sliders

Sliders is not stored as a drawing. It is a recipe of 6 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
L 4 6 20 6;
L 4 12 20 12;
L 4 18 20 18;
L 15 4 15 8;
L 9 10 9 14;
L 13 16 13 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 sliders. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil