Badge check icon

New Added in v0.7.0

A free pencil-style badge check icon, drawn by code from 1 smooth line and 1 polyline. Use it as an SVG, a React component, or by name. MIT licensed.

badge-check

01Use it

Use badge-check

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

<BadgeCheck size={24} />

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

JavaScript

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

toSvg(BadgeCheck, { 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-badge-check" data-sketch="" aria-hidden="true"><path d="M12.18 2.9C13.16 2.91 13.88 4.52 14.89 4.98C15.89 5.45 17.5 5.03 18.2 5.68C18.9 6.34 18.6 7.86 19.08 8.91C19.55 9.96 21 11 21.05 12C21.1 13.01 19.88 13.87 19.39 14.96C18.91 16.05 18.92 17.83 18.16 18.54C17.4 19.24 15.87 18.78 14.83 19.19C13.79 19.6 12.89 20.97 11.92 20.99C10.94 21 10.05 19.74 8.98 19.3C7.91 18.87 6.21 19.1 5.52 18.37C4.83 17.65 5.26 16.01 4.85 14.96C4.45 13.92 3.15 13.11 3.11 12.12C3.07 11.13 4.2 10.11 4.64 9C5.07 7.9 4.99 6.19 5.72 5.51C6.46 4.82 7.96 5.34 9.04 4.9C10.11 4.47 11.21 2.88 12.18 2.9C13.16 2.91 14.44 4.64 14.89 4.98" stroke-width="1.76"/><path d="M8.16 11.75Q9.66 13.29 11.13 14.87Q13.31 12.08 15.73 9.48" stroke-width="1.648"/></svg>

Pencil variant

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

<BadgeCheck size={32} pencil />

The file is icons/badge-check.svg in the package (pencil/badge-check.svg for the pencil variant). Matita 0.7.0.

02How it's drawn

The recipe for badge-check

Badge check is not stored as a drawing. It is a recipe of 1 smooth line and 1 polyline 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
S 12 3 14.98 4.79 18.36 5.64 19.21 9.02 21 12 19.21 14.98 18.36 18.36 14.98 19.21 12 21 9.02 19.21 5.64 18.36 4.79 14.98 3 12 4.79 9.02 5.64 5.64 9.02 4.79 12 3;
P 8.5 12.2 11 14.7 15.8 9.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 badge-check. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

badge-check from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/badge-check.svg.

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

True pixel sizes.

Ink
Pencil