Video icon

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

video

01Use it

Use video

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

<Video size={24} />

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

JavaScript

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

toSvg(Video, { 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-video" data-sketch="" aria-hidden="true"><path d="M2.3 6.63Q9.56 7 16.82 6.42M15.66 5.42Q15.45 11.9 15.39 18.38M16.63 17.67Q9.39 18.1 2.15 17.58M3.09 18.85Q2.97 12 2.99 5.16" stroke-width="1.584"/><path d="M15.43 10.61Q18.2 8.92 20.83 7.02Q20.78 12.01 21.16 16.98Q18.38 14.95 15.3 13.4Q15.47 12.01 15.43 10.61Q16.11 10.11 16.84 9.68" stroke-width="1.488"/></svg>

Pencil variant

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

<Video size={32} pencil />

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

02How it's drawn

The recipe for video

Video is not stored as a drawing. It is a recipe of 1 rectangle and 1 closed shape 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
R 3 6.5 12.5 11;
Z 15.5 10.5 21 7 21 17 15.5 13.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 video. Seed 0 is the default.

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

True pixel sizes.

Ink
Pencil