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.
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 stringSVG
<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.
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
sliders as a number: 3362194973
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, O dot. Separate shapes with ;. Edits stay on this page.
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.
Five seeds of sliders. Seed 0 is the default.
True pixel sizes.