Award icon

New Added in v0.4.0

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

award

01Use it

Use award

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

<Award size={24} />

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

JavaScript

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

toSvg(Award, { 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-award" data-sketch="" aria-hidden="true"><path d="M9.56 13.69C9.25 13.48 8.24 12.95 7.7 12.44C7.17 11.93 6.62 11.29 6.38 10.61C6.13 9.94 6.16 9.11 6.25 8.39C6.35 7.67 6.59 6.92 6.96 6.28C7.33 5.63 7.86 5 8.47 4.54C9.08 4.08 9.88 3.68 10.64 3.52C11.4 3.36 12.27 3.46 13.05 3.6C13.83 3.74 14.67 3.95 15.32 4.36C15.97 4.76 16.52 5.39 16.95 6.02C17.39 6.64 17.76 7.37 17.93 8.1C18.1 8.84 18.13 9.69 17.95 10.43C17.78 11.17 17.36 11.94 16.86 12.55C16.37 13.16 15.68 13.69 14.96 14.09C14.25 14.49 13.39 14.88 12.58 14.94C11.76 15.01 10.86 14.76 10.08 14.49C9.3 14.22 8.53 13.83 7.9 13.33C7.27 12.82 6.57 11.78 6.31 11.48" stroke-width="1.408"/><path d="M8.4 13.2Q7.9 17.09 7.06 20.91Q9.62 19.72 12.18 18.51Q14.51 19.8 16.8 21.16Q16.55 17.07 15.65 13.07" stroke-width="1.744"/></svg>

Pencil variant

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

<Award size={32} pencil />

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

02How it's drawn

The recipe for award

Award is not stored as a drawing. It is a recipe of 1 circle 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
C 12 9 5.5;
P 8.5 13.5 7 21 12 18.5 17 21 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 award. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil