Chevrons up down icon
New Added in v0.7.0
A free pencil-style chevrons up down icon, drawn by code from 2 polylines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use chevrons-up-down
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 { ChevronsUpDown } from '@matita/icons/react';
<ChevronsUpDown size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="chevrons-up-down" />JavaScript
import { ChevronsUpDown, toSvg } from '@matita/icons';
toSvg(ChevronsUpDown, { 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-chevrons-up-down" data-sketch="" aria-hidden="true"><path d="M6.63 9.75Q9.55 7.33 12.17 4.57Q14.88 6.91 17.23 9.63" stroke-width="1.584"/><path d="M6.57 14.3Q9.35 16.87 11.93 19.65Q14.32 16.8 17.15 14.39" stroke-width="1.552"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { ChevronsUpDown } from '@matita/icons/react';
<ChevronsUpDown size={32} pencil />The file is icons/chevrons-up-down.svg in the package (pencil/chevrons-up-down.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for chevrons-up-down
Chevrons up down is not stored as a drawing. It is a recipe of 2 polylines 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.
P 7 9.5 12 4.5 17 9.5;
P 7 14.5 12 19.5 17 14.5
chevrons-up-down as a number: 2229556000
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, 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 chevrons-up-down. Seed 0 is the default.
chevrons-up-down from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/chevrons-up-down.svg.
True pixel sizes.